Stefan van der Eijk wrote:
> 
> Hello Peter,
> 
> > > At my current customer they've got a large Solaris 2.6 environment which
> > > uses automount. One of the things I've noticed in that environment is
> > > that local automounts get mounted through NFS.
> > No it doesn't.  It uses something call lofs.
> Very true.
> 
> > > I'm wondering if this is also possible with linux. I got automount
> > > working
> > > on my system (it's great with floppies & cdroms) but I'd like the home
> > > directories on my system (which are local) to be mounted through
> > > automount.
> 
> > > Is there a way to prevent autofs from making a symlink and to just mount it
> > > through NFS??
> > Change the source code.
> Time (for me) to learn how to program ;-)

Well, all you need to do is to remove the test if the host is local.

> what are the disadvantages of using a lofs instead of symlinking? (other
> than
> the need of support for lofs in the kernel).
> 

A *properly* implemented lofs would be equivalent (except that it might
eat up a mount point), but the hard part is to implement lofs without a
performance impact.  The naive way of doing it would be slow, although
not as slow as NFS mounting over loopback.

NFS mounting over loopback is *much* slower than a symlink.

        -hpa

-- 
<[EMAIL PROTECTED]> at work, <[EMAIL PROTECTED]> in private!

Reply via email to