Re: [STATUS 2.5] January 18, 2002

Alexander Viro
2002-01-19T22:53:52Z

On Sat, 19 Jan 2002, [iso-8859-1] Jakob ьstergaard wrote:

> > All this seems very neat. One question: what about forced umount / forced
> > remount readonly stuff? Any plans on that?
> >
>
> That would be *very* nice indeed. Even if it was only for things like NFS
> and SMBFS.

umount(mountpoint, MNT_DETACH);

Had been there for quite a while...

It's not a forced umount - it detaches the subtree from mountpoint and
filesystem(s) go away when they stop being busy. But for remote
filesystems that's precisely what you want.