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

From: Puneet Vyas
Date: Sun Jan 02 2005 - 20:38:07 EST


Adrian Bunk wrote:

On Sun, Jan 02, 2005 at 09:11:47PM +0100, Adrian Bunk wrote:


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



I meant

fuser -km /mnt && umount /mnt

cu
Adrian



I'm as newbie as they get but the above command just made my system freeze hard and I could do nothing but reboot (use the power switch). I had nothing mounted there but have a directory
under /mnt where I occasionaly mount my samba share. (which was not mounted when I tried this) . So much for user friendlyness ... oh well ...

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