How does one control the order of transparent VFSes?
Richard Sharpe
realrichardsharpe at gmail.com
Fri Jan 16 04:41:20 GMT 2009
On Thu, Jan 15, 2009 at 10:55 AM, simo <idra at samba.org> wrote:
>
> 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).
So, reading the code was the correct approach :-)
--
Regards,
Richard Sharpe
More information about the samba-technical
mailing list