extattr/xattr on 8.0-RC1 ZFS?

Rich rincebrain at gmail.com
Sun Oct 25 22:00:39 UTC 2009


Hello world,
I'm running 8.0-RC1 built from latest RELENG_8 on September 29th.

I found a use case for extended attrs in my day to day life - I wanted
to make everything in a given directory have a default mask of
group-writable.

I tried:
# setfacl -d -m u::rwx,g::rwx,mask::rwx /bukkit/home/rercola/oose
setfacl: acl_get_file() failed: Operation not supported
# zfs get xattr bukkit/home/rercola
NAME                 PROPERTY  VALUE                SOURCE
bukkit/home/rercola  xattr     off                  temporary
# zfs set xattr=on bukkit/home/rercola
# zfs get xattr bukkit/home/rercola
NAME                 PROPERTY  VALUE                SOURCE
bukkit/home/rercola  xattr     off                  temporary

What's going on? Wikipedia says, uncited, that FBSD ZFS has extended
attributes. The FBSD wiki page on ZFS says that extattr is "done", but
the description hasn't changed from before this was the case.
I tried, naively:

# extattrctl start /bukkit/home/rercola/
extattrctl start: Operation not supported

What's the correct thing to do here? Is it secretly unsupported and
the documentation is imprecise? Or am I just an idiot?

- Rich

-- 

Todo corpo mergulhado numa banheira faz tocar o telefone. -- Joseph Murphy


More information about the freebsd-fs mailing list