Supporting file systems that have support for CREATE TIME and DOS Attributes
cs at samba.org
Fri Mar 18 23:21:50 UTC 2016
On Fri, Mar 18, 2016 at 04:09:09PM -0700, Richard Sharpe wrote:
> Hi folks,
> There are a couple of file systems or systems that support CREATE TIME
> as a separate time (ie FreeBSD, ZFS, etc.)
> Also, ZFS supports the notion of DOS Attributes and other things like
> a QUARANTINE bit in the ZNODE.
> While we can handle create time easily by implementing ntimes in our
> VFS module, it is hard to handle DOS Attributes without modifying
vfs_gpfs implements the same by intercepting the xattr calls. Not clean,
but it works.
> Can we refactor file_set_dosmode so it uses something like
> SMB_VFS_SET_DOS_ATTRS etc and then move the current behavior into
That would be the cleaner approach. I do not think that there would be
objections, just someone needs to implement the changes.
More information about the samba-technical