On Mon, 2008-03-10 at 08:15 +0100, Stef Bon wrote:
> Ian Kent wrote:
> > Its totally dependent on what is returned from the script.
> > The example script, auto.smb, just returns an entry with a multi-mount
> > offset for each share. If a more complex multi-mount is returned that
> > should work fine. The old auto.hosts would often return a more complex
> > multi-mount entry as NFS exports are often deeper than a single level.
> >
> > Ian
> >
> >   
> Ok, That's clear. I know that's it's the script which should return it.
> 
> What I want to know is, is it possible to use mountpoint's like:
> 
> ../<USER>/server/share/<mounted smb share>
> 
> A multimount with the first key the <USER>.

Return everything else but the key as usual.
Format like:

[-fstype=<type>,<options] [[/] [localtion] \
        /<dir> location \
        /<dir> location ....

The leading "/" is required and the root mount "/" is optional.
It's been a while since I played with this but I think the offsets of
the multi-mount need to be in depth order.

Ian

_______________________________________________
autofs mailing list
[email protected]
http://linux.kernel.org/mailman/listinfo/autofs

Reply via email to