Re: fmount system call

Martin von Loewis (martin@mira.isdn.cs.tu-berlin.de)
Fri, 25 Jul 1997 10:12:31 +0200


> Besides ncpmounting novell server and not umounting it is enough
> sabotage, already. Novell server will of course crash / be rebooted
> soon. And linux can not handle _that_. What about making linux support
> some kind of force unmount?

That would be the BSD style null file system. You go through all files
that are open on a mount point, and replace the file and inode operation
with 'null' operations. Any future system call on one of the files will
return ENOFILE or something. Future page-ins on the file will result in
bus errors, or segmentation violations.
Before modifying the method table pointers, you probably have to give
the file system a chance to clean-up.

I believe this is a very valuable feature, and should be implemented.

Regards,
Martin