LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 12-27-2005, 11:42 PM   #1
josedsilva
LQ Newbie
 
Registered: Apr 2002
Location: Goa, India.
Posts: 23

Rep: Reputation: 15
Unhappy USB Flashdrive light does not turn off when unmounted


I have managed to mount my usb flashdrive and read it's contents. But when I umount the drive, the drive light does not turn off. I am sure the drive is umounted. Is this normal with RH 9 and is it safe to pull out the flashdrive while the drivelight is still on?

Further, if I mount the drive as root, I cannot umount the drive. I get an error message "Cannot umount because device is busy". My present working dir is not the /mnt directory and I am not accessing the drive contents when trying to umount from root.

Please advice !!!!
 
Old 12-27-2005, 11:55 PM   #2
shuuhen
Member
 
Registered: Jun 2004
Distribution: Mac OS X 10.6.6, Gentoo Linux, FreeBSD 6.0
Posts: 127

Rep: Reputation: 20
Instead of using "umount /mnt/usb-flash", use "eject /mnt/usb-flash".
 
Old 12-28-2005, 12:17 AM   #3
josedsilva
LQ Newbie
 
Registered: Apr 2002
Location: Goa, India.
Posts: 23

Original Poster
Rep: Reputation: 15
Thanks shuuhen, I'll check if eject works. But after mounting the device an icon appears on X window's desktop and I unmount the device by right-clicking the icon and selecting "Unmount Volume" from the context menu. I suppose Linux would eject/umount the device as appropriate.
Is there any way to automate this process, like the "Unplug or eject hardware" feature of Windows?
 
Old 12-28-2005, 09:09 PM   #4
josedsilva
LQ Newbie
 
Registered: Apr 2002
Location: Goa, India.
Posts: 23

Original Poster
Rep: Reputation: 15
Well shuuhen "eject /mnt/usb-flash" does NOT work. The drive get unmounted nodoubt, but the drivelight is still ON. I suppose the drive light should turn off if I need to unplug the flashdrive. Now I need to shut down Linux and turn off my computer to unplug the flashdrive.
 
Old 12-29-2005, 12:42 AM   #5
dmartins
Member
 
Registered: Oct 2005
Location: Ontario, Canada
Distribution: Arch, Gentoo
Posts: 98

Rep: Reputation: 15
maybe the light comes on when the drive has power? I know the light on mine flashes when the kernel detects it.
 
Old 12-29-2005, 01:08 AM   #6
shuuhen
Member
 
Registered: Jun 2004
Distribution: Mac OS X 10.6.6, Gentoo Linux, FreeBSD 6.0
Posts: 127

Rep: Reputation: 20
If the light is still on after "eject /mnt/usb-flash", then it's going to stay on as long as it's getting power. You should be able to just pull the device after ejecting it without needing to worry about it.
 
  


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
can not mount usb flashdrive walterbyrd Debian 14 03-18-2006 12:53 PM
still more USB flashdrive problems... Lord Zoltar Linux - Hardware 8 01-22-2005 12:38 PM
USB flashdrive problems endfx Linux - Hardware 11 01-01-2005 05:40 PM
USB FlashDrive -- Again kadalz Linux - Newbie 1 10-12-2003 11:20 AM
USB Flashdrive disto cli_man General 7 02-23-2003 04:56 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 06:46 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