Re: the umount() saga for regular linux desktop users

From: Oliver Neukum
Date: Sun Jan 02 2005 - 15:38:29 EST


Am Sonntag, 2. Januar 2005 21:11 schrieb Adrian Bunk:
> On Sun, Jan 02, 2005 at 08:37:24PM +0100, Pavel Machek wrote:
>
> > Well, umount -l can be handy, but it does not allow you to get your CD
> > back from the drive.
> >
> > umount --kill that kills whoever is responsible for filesystem being
> > busy would solve part of the problem (that can be done in userspace,
> > today).
> >...
>
> What's wrong with
>
> fuser -k /mnt && umount /mnt

1. Would need suid.
2. Is a mindless slaughter of important processes.
3. Is a race condition.

Regards
Oliver
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/