LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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, 08: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, 01: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, 02:06 PM   #3
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

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

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

Rep: Reputation: 58
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
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

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


Reply



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 05:20 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration