Thus spoke H. Peter Anvin on 22-Feb-99 :
>> 
>> Maybe I do not understand what you mean with  
>> "explicitly umount *that directory*"
>> 
>>         umount  /home/user1
>> on a autofs mountpoint /home does not work. Therefore the directory entry
>> /home/user1 is stuck.
> 
> Why doesn't it work?  It is supposed to.

Sorry it does now. My mistake. A lost process hang on it.

>> 
>> It looks to me, that the reason is part of autofs, the autofs
>> filesystem, runs in the Linux kernel. Bad luck.
> 
> Well, I'll correct myself: you can make it work if you're willing to
> take a two order of magnitude slowdown.

I disagree. I would implement the nfs mounts of autofs like autofs handles local
links. That means, instead of mounting the remote directory directly onto /home
it would mount it on /aufofs/host/user.... and then make a link from /home/user
to /aufofs/host/user.

That means, the access will be as fast as Linux can handle symbolic links. If
that is slow, then autofs is slow. But how fast is NFS anyway.

Frithjof



        "If you see someone without a smile, give him one of yours"

Frithjof Anders
Institut  fuer Festkoerperphysik
Technische Universitaet Darmstadt
Hochschulstr. 6
64289 Darmstadt, GERMANY


Tel  +49 (6151) 16-5235    email:  [EMAIL PROTECTED]
FAX  +49 (6151) 16-3681

  

Reply via email to