[Techtalk] Can't umount floppy
rasjidw at openminddev.net
Tue Apr 15 23:20:37 EST 2003
On Tue, 15 Apr 2003 10:49 pm, Berenice wrote:
> I sometimes get the "can't unmount - device is busy" message when I
> try to umount my floppy. I didn't know what to do when this happened
> the other day, so I ejected the disk and discovered today I'd lost
> everything on it. Luckily I have a copy of the files on the hard
> I've checked that I'm not inside the /mnt/floppy directory and that
> I'm not using any files on my floppy when I do umount.
You can check this for sure with (as root)
# lsof | grep floppy
lsof lists all open files.
You may find there is a bash shell you had forgotten about somewhere, or
perhaps there is some other RH process doing something.
> What should I
> do when I need to turn off the computer but can't umount? Does RH
> automatically umount when it's shutting down?
IIRC, in general, yes, and by the time it tries to unmount, anything that had
a file open on the disk will have been terminated.
The only times I've had Linux hang upon trying to unmount on shutdown was a)
when there was a serious hardware problem or b) when there was a nfs mounted
volume and the server exporting the nfs filesystem was down.
Canberra, Australia. UTC + 10.
More information about the Techtalk