[Linux-disciples] Re: /mnt/sda usb key
Adam Rosi-Kessel
adam at rosi-kessel.org
Tue Oct 26 16:25:22 EDT 2004
On Tue, Oct 26, 2004 at 04:23:35PM -0400, Dylan Thurston wrote:
> On Tue, Oct 26, 2004 at 12:21:46PM -0700, karl sokol wrote:
> > Thanks to your help, so far, so good. I have added:
> > /dev/sda1 /mnt/sda msdos defaults,users to fstab and
> > can generally mount and umount. However, there is a
> > bug(?) in konqueror in which once I view /mnt/sda and
> > then close konqueror, I get a 'device busy' error. I
> > can manually kill the offending pid ?kdeinit:
> > konqueror -mimetype inode/directory file:/mnt/sda? but
> > this is an obvious annoyance. My actual question is
> > broader. Is there a way to force a umount?
> No, you count unmount a drive until it's no longer in use, so you have
> to kill off all the processes with open files first. 'lsof' can help
> in finding such processes.
Well, there is umount -f, which is "force" unmount. But this might only
apply to NFS mounts. Sometimes you can force removal of the module which
is providing the device with rmmod -f (in this case, probably
usbstorage), but it's a bad idea and can destabilize your system.
--
Adam Rosi-Kessel
http://adam.rosi-kessel.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.bostoncoop.net/pipermail/linux-disciples/attachments/20041026/a581b71c/attachment.pgp
More information about the Linux-disciples
mailing list