Roy Stogner wrote:
>
> On Fri, 16 Jul 1999, Jeremy Fitzhardinge wrote:
>
> > On 16-Jul-99 Roy Hulen Stogner wrote:
> > >
> > > 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:
> >
> > That would make the mere act of an ls -l /net cause them all to be remounted.
> > That is certainly not universally desireable, but I guess some people might
> > want it as an option.
>
> Would it have to remount the directories? It would have to do so to
> get accurate owner/permissions, I suppose, but for most cases just
> pulling the directory names out of the config file, and giving them
> fake permissions like root.root 0660 would be preferable to not having
> them visible at all.
This is virtually impossible to do; or rather, it adds enourmous amounts
of complexity.
-hpa