vfs_auto

Andrew Bartlett abartlet at samba.org
Tue Jun 24 03:31:31 MDT 2014


On Tue, 2014-06-24 at 10:48 +0200, Volker Lendecke wrote:
> On Tue, Jun 24, 2014 at 07:07:26PM +1200, Andrew Bartlett wrote:
> > Seeing what looks like a really interesting module in vfs_snap, and
> > thinking about the trouble folks running btrfs and zfs have with Samba,
> > having to run specific modules, I wondered if we should have a new,
> > meta-module: vfs_auto
> > 
> > That is:  We can detect almost as well as the system administrator what
> > VFS modules they need for specific back-end file systems, and we hide so
> > much of our correctness code behind optional, off by default modules.
> 
> How can we detect what the admin wants?

I figure we could do things like allow graceful failure if FS-specific
features are not available, look at the server role, look
at /proc/mounts, and generally make a best guess (perhaps enabling
vfs_acl_xattr and vfs_streams_xattr) based on what we think would make
Samba work best the majority of users, particularly for fresh installs. 

Andrew Bartlett

-- 
Andrew Bartlett                       http://samba.org/~abartlet/
Authentication Developer, Samba Team  http://samba.org
Samba Developer, Catalyst IT          http://catalyst.net.nz/services/samba




More information about the samba-technical mailing list