Re: The reason to call it 3.0 is the desktop (was Re: [OT] 2.6 not 3.0 - (NUMA))

From: Matthias Andree (
Date: Sat Oct 12 2002 - 06:42:05 EST

On Fri, 11 Oct 2002, 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.


The patch at the URL below used to work back with 2.4.9, I did not track
what has become of it, if it still applies, I haven't needed it recently
or if so, Alt-SysRq was fair enough for me. Maybe just updating this
badfs and forced umount patch for 2.4.20 would suffice:

It gives me one reject in fs/super.c that I don't know how to fix:

*** 1145,1150 ****
                  return retval;
          if (atomic_read(&sb->s_active) > 1) {
--- 1172,1180 ----
                  return retval;
+ if (flags&MNT_FORCE)
+ quiesce_filesystem(mnt);
          if (atomic_read(&sb->s_active) > 1) {
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

This archive was generated by hypermail 2b29 : Tue Oct 15 2002 - 22:00:43 EST