Ian Kent wrote:
>
>
> 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
>
>
Ok, this format you give returns a list. This list is interpreted by the
automount daemon,
and it determines which entry applies.
Now it should be possible to let this script (it has to be a script)
only show the entry which applies:
-fstype=cifs,credentials=/home/sbon/.smb/mount.cred / \
/sbon/lfs20060812/public ://lfs20060812/public
if I give the command:
ls <autofsmountpoint>/sbon/lfs20060812/public
This way the script is more "smart".
Stef Bon
_______________________________________________
autofs mailing list
[email protected]
http://linux.kernel.org/mailman/listinfo/autofs