Click to See Complete Forum and Search --> : mounting devices and umounting them


Lacan
07-20-2001, 05:56 PM
ok, i wanted to unmount my floppy, and i got this error message:

umount:floppy : /dev/floppy cant umount : device is busy

well... the "device" is not busy, something crashed :p so i wanted to ask you guys, is there a way/command/param. to unmount an BUSY device ?

im sure i will need it if there is 1, i tryed to find the option in man mount, but i couldnt, thanks in advance

:)

irlandes
07-20-2001, 06:58 PM
Originally posted by Lacan:
<STRONG>ok, i wanted to unmount my floppy, and i got this error message:

umount:floppy : /dev/floppy cant umount : device is busy

well... the "device" is not busy, something crashed :p so i wanted to ask you guys, is there a way/command/param. to unmount an BUSY device ?

im sure i will need it if there is 1, i tryed to find the option in man mount, but i couldnt, thanks in advance

:)</STRONG>

Usually, when you try to umount something, and get a device or filesystem busy message, it's because it's busy. Seriously.

This means you have something sitting in that app. In this case, usually you have a konsole or terminal or browser or something else sitting at floppy.

Failure to supply system/distro info means I am going to give a KDE example.

In KDE, one would have a file page showing contents of the floppy, for example. One would need to use the arrows to cause the browser to leave the floppy.

If you are using a terminal, do a cd / or something like that, so the terminal is not looking at the floppy.

If this doesn't do it, I have no more ideas. But, that is the common cause of being busy.

Lacan
07-20-2001, 07:24 PM
yep, KDE was the problem. thanks i really appreciate it.

;)

bdg1983
07-20-2001, 07:24 PM
As irlandes said, you cannot be in the mounted directory while you attempt to umount.

If you were in /mnt/floppy, then change to another directory (easier to do cd /) and then try the umount /mnt/floppy.

Lacan
07-20-2001, 07:38 PM
yep, i already found that out, but what _if_ i really want to unmount a device, and i cant, cause im getting this error, what is the command to umount it ?

bdg1983
07-21-2001, 07:07 AM
There's only one umount command that I know of. The media has to still be in the drive before you umount.

Always umount before removing a floppy or cd.

Insert media
mount the drive
after finished, cd out of mounted device
umount
remove media

'man mount' or 'man umount' for more info.