> 
> Thus spoke H. Peter Anvin on 24-Feb-99 :
> >> Peter,
> >> 
> >> I would like to come back to the shutdown of the automounter question.
> >> 
> >> I remembered what the real problem in my case always was and still
> >> is. It is not the umount of mounted directories but removal of
> >> symbolic links when the disk is local.
> >> 
> >> How do I remove a symbolic link by hand from an autofs managed moint point?
> >> rm does not work. How do I tell the automounter to unlink symbolic links
> >> locally?
> >> 
> > You're right, it doesn't work, and it probably should.  Let me see
> > what I can do about it.
> 
> That would be really great! Making that work would have an impact how you can
> setup your autofs in large cluster. There was a discussion about the lack of
> sublinks of autofs which lets to may mounts of the same filesystem, one mount
> for each user. People had to recompile the linux kernel with more allowed
> mounts. Not a good solution IMOP.
> 
> My orginal solution was, to make /home a autofs which manages only symbolic
> links to an /import automounter mount point. It worked find: each filesystem
> was mounted only once. But since the symlink were not removable, I was screw
> once a user has to be moved, or I did a typo at installing a new user.
> 

Oh by the way... in the meantime you can send SIGUSR1 to automount.
SIGUSR1 means "umount all you can but don't exit"; since symlinks are
always removable they will be removed by the daemon.

        -hpa

Reply via email to