Why does autofs remove subdirectories after they expire and are
unmounted?  For example, I have autofs handling the /nfs directory on
a laptop, mounting a number of subdirectories /nfs/u3, /nfs/d4, etc.
on demand.  However, the directories only exist while they are being
used:

#ls /nfs
mail u3
#ls /nfs/d4
files
#ls /nfs
d4 mail u3
#sleep 70; ls /nfs
mail u3

It seems to me that for truly transparent automounting the directories
under /nfs should always exist, even if they are empty, lest programs
taking directory listings (tar?) think they don't exist.  I plan to
put everything in /.autofs and make symlinks as a partial solution to
the problem (except that now I have to tell symlink-aware programs
like tar to follow them), but I don't understand why directory entries
in the auto.nfs file aren't simply left in place to begin with.

Thanks,
---
Roy Stogner
[EMAIL PROTECTED]
[EMAIL PROTECTED]

Reply via email to