LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 11-28-2002, 09:17 AM   #1
burp
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
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
 
Old 11-28-2002, 02:44 PM   #2
pesho_p
Member
 
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, 03:06 PM   #3
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,000
Blog Entries: 11

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

Cheers,
Tink ....
 
Old 11-29-2002, 04:56 AM   #4
Aussie
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, 06:54 AM   #5
unSpawn
Moderator
 
Registered: May 2001
Posts: 27,564
Blog Entries: 54

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


Reply


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 03:37 PM
Unmounting busy images Boudewijn Linux - Newbie 16 09-24-2004 09:37 AM
Unmounting busy device AudunJohansen Linux - General 6 06-16-2004 11:48 AM
unmounting sda device jogurt666 Linux - Hardware 2 01-07-2004 01:29 PM
unmounting device while file is open gui10 Linux - Newbie 2 04-10-2002 12:40 PM


All times are GMT -5. The time now is 02:24 AM.

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