Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 11-28-2002, 08:17 AM   #1
LQ Newbie
Registered: Nov 2002
Location: Malaysia
Distribution: Slackware 8.1
Posts: 21

Rep: Reputation: 15
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

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)

Old 11-28-2002, 01:44 PM   #2
Registered: Oct 2002
Location: 42 42' N, 23 19' E
Distribution: Slackware 8.1
Posts: 77

Rep: Reputation: 15
How about:

# cd
# umount /dev/sda1
Old 11-28-2002, 02:06 PM   #3
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,041
Blog Entries: 11

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

Tink ....
Old 11-29-2002, 03:56 AM   #4
Senior Member
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 56
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.
Old 11-29-2002, 05:54 AM   #5
Registered: May 2001
Posts: 28,826
Blog Entries: 55

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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Unmounting usb-device with konqueror matrem Linux - Software 1 04-13-2005 02:37 PM
Unmounting busy images Boudewijn Linux - Newbie 16 09-24-2004 08:37 AM
Unmounting busy device AudunJohansen Linux - General 6 06-16-2004 10:48 AM
unmounting sda device jogurt666 Linux - Hardware 2 01-07-2004 12:29 PM
unmounting device while file is open gui10 Linux - Newbie 2 04-10-2002 11:40 AM

All times are GMT -5. The time now is 04:09 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration