With the sun solaris, compaq tru64 and SGI IRIX autofs and automounter,
we have a NIS map of about 150 filesystems that are sent out our server to
all clients using the direct map method.
for example
/machine1/tmp machine1:/machine1/tmp
...
We can list the directory of / and it shows all of the directories but
does not mount any of them. If you do ls /machine1 all the filesystems
from that machine show up as directories but are not mounted. Only when
you access them directly using ls /machine1/tmp does it get mounted.
On SGI for some reason the mount shows up twice one as an autofs and the
other as the regular mount.
It would be very nice if this behavior can be emulated on the linux autofs
Thanks,
Chandra.
On Wed, 5 Jan 2000, 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.
>
> Brian Servis
> --
> ------------------------------------------------------------------------
> Mechanical Engineering | Never criticize anybody until you
> Purdue University | have walked a mile in their shoes,
> [EMAIL PROTECTED] | because by that time you will be a
> http://www.ecn.purdue.edu/~servis | mile away and have their shoes.
Chandra R. Chegireddy
Department of Physics Phone: (352)-392-8083
P.O. Box 118440 Pager: (352)-252-0628
2253 New Physics Building Fax: (352)-392-0524
University of Florida E-mail: [EMAIL PROTECTED]
Gainesville, FL, 32611-8440