hi simon
> > > Will this mean you will be able to mount hostname:/ onto /net/hostname
> > > and then hostname:/usr onto /net/hostname/usr ?
> >
> > it can do that now...
>
> Do you mean by submounting, I have been trying that and it nearly does
> what I want. BTW, I can't get the variable definition to work as below:
>
> #
> # Sample /etc/auto.net
> # ------
> * -fstype=autofs,-Dmachine=& file:/etc/auto.net.sub
> #
> # end of file
>
> #
> # Sample /etc/auto.net.sub
> # ------
> #
> * ${machine}:/&
> #
> # end of file
>
> It ends up mounting the local filesystem:
> root@rayleigh:~# dir /try/hartley/usr
> lrwxrwxrwx 1 root root 4 Jul 16 13:53 /try/hartley/usr -> /usr/
> root@rayleigh:~#
>
> Is there any documentation on the mapfile format for autofs?
you seem to be using the proper format...but I cannot swear by it...
since I don't use that syntax... ( another todo experiments one day )
if some of you out there have other examples...that works and does what
you want....I would like to collect the examples...
thank you
alvin
http://www.Linux-Consulting.com/Amd_AutoFS/autofs-HOWTO.html