Re: umount -f implementation

From: Rick Macklem <rmacklem_at_uoguelph.ca>
Date: Wed, 1 Jul 2009 13:29:44 -0400 (EDT)
On Wed, 1 Jul 2009, Julian H. Stacey wrote:

> Kirk McKusick wrote:
>> forced unmounts. The gentle force (-f) and the brute force (-F)
>> unmount.
>
> -F Would also be nice for devd.conf detach, for when people
> forget & pull a USB stick without unmounting first.
> Better a corrupt stick than a crashed OS.
>
All I'll add is, for the experimental nfs client, if both semantics are 
desired (and, imho they are), there will need to be separate flags to 
indicate whether or not to terminate RPCs in progress.

So, it seems that there is interest in a separate "umount -F" to handle
the case of failed storage (disk subsystem, NAS server down,...).
Is there anyone who is opposed to my pursuing this after FreeBSD-CURRENT
branches from 8? (I can do the experimental nfs client + some testing.
Hopefully others can help with the generic VFS issues and other file
systems.)

rick, who obviously doesn't have as good a memory as Kirk's:-)
ps: Unfortunately Solaris uses "-F" for something entirely different, so
     feel free to suggest other flag values if you think that is a concern.
Received on Wed Jul 01 2009 - 15:27:24 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:51 UTC