Brian Servis wrote:
>
> *- On 5 Jan, Jeremy Fitzhardinge wrote about "Re: autofs and mountpoint creation"
> > On Tue, Jan 04, 2000 at 01:08:33PM +0100, Roger Zimmermann wrote:
> >> Since autofs creates the mountpoint while acessing the filesystem there
> >> is no chance to access the filesystem via the Mac (All fixmounted
> >> systems work, of course). Until now, it was possible to force at least
> >
> > This isn't possible in general, since the autofs daemon doesn't know
> > what mountpoints will work (eg, in the case of program mounts).
> >
> > I generaly fake this with a directory of symlinks. For example,
> > /net is an automount NFS directory, and /n is a set of symlinks to ../net
> > (/n/host -> ../net/host).
> >
>
> Yes, I have found this solution to be acceptable. But the only
> disadvantage is that if you do a directory listing in /n then ALL the
> mounts that are pointed to by the symlinks get mounted. If there are a
> lot then this can take a while to process(and waste resources?). This
> is what is described in the autofs-HOWT at
> http://www.Linux-Consulting.com/Amd_AutoFS/autofs-HOWTO.html.
>
This, of course, would also happen if autofs pre-enumerated the map, as
well, which is partially why it doesn't.
-hpa