On Wed, 6 Oct 2004, Ian Kent wrote: > On Tue, 5 Oct 2004, es wrote: > > > Hello there, I'm using autofs since a while and works very well. > > Now I'd like to mount /home/milly and /home/es/Data from an NFS export. > > This means I cannot simply have /home in auto.master otherwise /home/es > > became inaccesible. > > ********* auto.master file > > /home/milly /etc/autofs/auto.home.milly > > /home/es /etc/autofs/auto.home.es > > ********* auto.home.milly > > ./ -fstype=nfs,rw myhost:/home/milly > > > > It seems I can't use ./ as key nor I can have /home/es in auto.master > > and have Data as key in auto.home.es because it will mount /home/es > > hidding the content of /home/es. > > You might like to try a multi mount entry like > > milly myhost:/home/milly > es / myhost:/home/es \ > /data otherhost:/home/data > > Note that multi mount map entries mount and umount all their entries as > a single unit because of the cross filesystem issues that can arise. So in > this case /home/es and /home/es/data would be mounted and umounted > together.
And as Stephen says you need at least autofs version 4.0.0. Ian _______________________________________________ autofs mailing list [EMAIL PROTECTED] http://linux.kernel.org/mailman/listinfo/autofs
