On 13-Jan-00 Coetmeur, Alain wrote:
> after hours trying to make a /net autofs map work,
> seeing it done in 4 lines is... COOOL
>
> If I understand well, the individual exported volume are not mounted
> until one use it , but they are listed
>
> so that:
>
> cd /net/host
> trigger the script and does showmount -e host
>
> ls
> list the exported volume but does not mount them
> cd export/disk1
> mount this volume ...
> am I right?
When you "cd /net/host", the script will produce a list of NFS filesystems to
be mounted. The daemon mounts those filesystems and allows the "cd" to finish.
In other words, by the time the cd is finished, everything is mounted.
When it comes to expiration, the kernel will only tell the daemon to expire a
tree under /net/host once all the filesystems under /net/host are no longer
busy.
J