Rob Landley wrote:
>On Saturday 12 October 2002 06:03 am, Hans Reiser wrote:
>
>
>>Rob Landley wrote:
>>
>>
>>>I'm also looking for an "unmount --force" option that works on something
>>>other than NFS. Close all active filehandles (the programs using it can
>>>just deal with EBADF or whatever), flush the buffers to disk, and
>>>unmount. None of this "oh I can't do that, you have a zombie process
>>>with an open file...", I want "guillotine this filesystem pronto,
>>>capice?" behavior.
>>>
>>>
>>This sounds useful. It would be nice if umount prompted you rather than
>>refusing.
>>
>>
>
>The problem here is that umount(2) doesn't take a flag. I'd be happy to have
>it fail unless called with the WITH_EXTREME_PREJUDICE flag or some such, but
>that's an API change.
>
>Of course I haven't gotten that far yet, but eventually this will have to be
>dealt with...
>
>Rob
>
>
>
>
Call it forcedumount().
What apps need to know about how to call it besides umount anyway?
Not a lot that need a lot of worry.....
Hans
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Tue Oct 15 2002 - 22:00:48 EST