How does one control the order of transparent VFSes?
idra at samba.org
Thu Jan 15 18:55:30 GMT 2009
On Thu, 2009-01-15 at 10:44 -0800, Jeremy Allison wrote:
> On Thu, Jan 15, 2009 at 10:15:33AM -0800, Richard Sharpe wrote:
> > Hi,
> > I have read the developer's guide (
> > http://samba.org/samba/docs/man/Samba3-Developers-Guide/vfs.html) but it is
> > still not clear to me how one controls the order of transparent VFSes in the
> > case that one wants to load several of them and order is important ...
> > Are they handled in the order in which they are specified in the smb.conf?
> > Presumably, however, if one has one transparent and one opaque VFS, the
> > transparent one is called and it can choose to call the next one in the
> > chain, or not.
> > The examples seem to show this, so it would seem that if any layer returns
> > without calling the next layer, that is all that happens. Perhaps I should
> > look at the code to confirm this.
> Dig into the code Richard, you know it's the only way :-).
FWIW, IIRC the rule was that "transparent" modules could not arbitrarily
return at will (that's why they are called transparent).
Samba Team GPL Compliance Officer <simo at samba.org>
Principal Software Engineer at Red Hat, Inc. <simo at redhat.com>
More information about the samba-technical