Re: stacked NFS mounts

Mouse <[email protected]>
Newsgroups gmane.os.netbsd.devel.kernel
Message-ID <[email protected]>
>> But we should also be fixing our code, so that umount -f *never*
>> fails (for anything except the root), no matter what else happens
>> (the -R just stops the umount program from causing issues).
> Yes.

Agreed.  But part of the problem is that - at least in 5.2 - the path
provided to unmount(2) is handed to a namei walk to find the relevant
structs vnode and mount, which of course will fail if it involves
walking through a dead NFS mount.

I'm going to look at 5.2 to see how hard it looks to have
unmount(,MNT_FORCE) do string comparisons in the mount table instead of
a namei walk.  There is the case of having two things mounted on the
same path, but that shouldn't be unsolvable.

/~\ The ASCII				  Mouse
\ / Ribbon Campaign
 X  Against HTML		[email protected]
/ \ Email!	     7D C8 61 52 5D E7 2D 39  4E F1 31 3E E8 B3 27 4B
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.