You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Both FreeBSD and Linux currently use what I would call the "Linux style"
interface for extended attributes. However, given ZFS's heritage, the
underpinnings for a Solaris style interface is in the code.
I have now patched FreeBSD's main so it can do the "Solaris style" extended
attribute interface (a directory with the attribute names in it, plus the attributes
accessed like ordinary files) as an alternative to the "Linux style" (not replacing it).
I have a patch here: https://reviews.freebsd.org/D49654
which adds the wiring to ZFS for this to work.
Except for defining a couple of new flag values used to inform zfs_zaccess()
that these are being used, all the changes are in
module/os/freebsd/zfs, with the biggest change being done to zfs_freebsd_lookup().
It currently seems to work ok once the "xattr" property is set to "dir".
Alexander Motin is aware of this and will look at it when he has time.
Do others have comments or suggestions w.r.t. this?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Both FreeBSD and Linux currently use what I would call the "Linux style"
interface for extended attributes. However, given ZFS's heritage, the
underpinnings for a Solaris style interface is in the code.
I have now patched FreeBSD's main so it can do the "Solaris style" extended
attribute interface (a directory with the attribute names in it, plus the attributes
accessed like ordinary files) as an alternative to the "Linux style" (not replacing it).
I have a patch here:
https://reviews.freebsd.org/D49654
which adds the wiring to ZFS for this to work.
Except for defining a couple of new flag values used to inform zfs_zaccess()
that these are being used, all the changes are in
module/os/freebsd/zfs, with the biggest change being done to zfs_freebsd_lookup().
It currently seems to work ok once the "xattr" property is set to "dir".
Alexander Motin is aware of this and will look at it when he has time.
Do others have comments or suggestions w.r.t. this?
Beta Was this translation helpful? Give feedback.
All reactions