lkml.org 
[lkml]   [2005]   [Jan]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: the umount() saga for regular linux desktop users
Date
Frank van Maarseveen schrieb:
> On Sun, Jan 02, 2005 at 10:05:36PM +0100, Adrian Bunk wrote:
> > On Sun, Jan 02, 2005 at 09:56:50PM +0100, Pavel Machek wrote:
> > > Okay, so the right solution is probably something more like
> > >
> > > while umount /mnt; do
> > > fuser -km -TERM /mnt
> > > sleep 1
> > > fuser -km /mnt
> > > done
> There's a much more interesting race: another process succesfully umounting
> the thing while this one's asleep.

For those who don't know what happens: fuser -km /mnt will act like
fuser -km / in that race and kill all processes.

BTDT :-(

-
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/

\
 
 \ /
  Last update: 2005-03-22 14:09    [from the cache]
©2003-2014 Jasper Spaans. Advertise on this site