LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   unmounting busy device (https://www.linuxquestions.org/questions/slackware-14/unmounting-busy-device-36716/)

burp 11-28-2002 08:17 AM

unmounting busy device
 
This supposed to sound easy. But I am having problem getting out of this quagmire. I was able to mount a handy drive at sda1 to /dev/hd and successfully read its content. I had not open any of its files.

I wanted to unplug it out of its usb port, but I was having problem unmounting it.

I tried
#umount /mnt/hd
as well as
#umount /dev/sda1
but keep getting
device is busy
reply

I even tried to umount -f but to no avail.

I have checked and has not found any open file or

man umount did mentioned busy devices but there was no valuable tips which I can apply here. Only that if I remove it without unplugging I might corrupt its file system. Please note that my usb handy drive is in FAT16 (VFAT)

Thanks

pesho_p 11-28-2002 01:44 PM

How about:

# cd
# umount /dev/sda1

Tinkster 11-28-2002 02:06 PM

Just do a "mount" and see what it's actually mounted as? :}

Cheers,
Tink ....

Aussie 11-29-2002 03:56 AM

If this is a USB device you should install 'hotplug' to handle the modules, you might be getting the error because of a kernel module, to check try the rmmod command on the module used by the device and then the umount command.

unSpawn 11-29-2002 05:54 AM

Maybe you could check file usage using "fuser".
If opened by a process it'll return the pid.


All times are GMT -5. The time now is 03:57 AM.