Subject: Re: /sbin/umount should support umount_* (PR#698)
To: Simon Gerraty <firstname.lastname@example.org>
From: Bill Studenmund <email@example.com>
Date: 03/10/2003 15:50:56
On Mon, 10 Mar 2003, Simon Gerraty wrote:
> You are being neither (I think). This amounts to the same suggestion
> that Charles made and which I think would be a good solution.
> Ie. for a mount type like snfs where the mount_snfs process will dag
> around actually doing some magic, it could put its PID in the mount
> umount would then simply need to _know_ that if PID is set, the right
> thing for it to do is just KILL that PID. Rather than what it
> currently does "oh NFS I know what to do about that...".
I don't think that's right. What if the process died, and another process
got that PID? Yes, the mount should go away, but what if it didn't?
When you unmount the file system, the fs code should send a signal to the
helper process to tell it, "I'm shutting down."