On 3/6/07, eric pareja <[EMAIL PROTECTED]> wrote:
On 3/6/07, List Mail <[EMAIL PROTECTED]> wrote: > Is there a Linux equivalent of the "remove hardware" command, > something stronger than p/umount and friends? > > Background: on my friend's computer there are commands to "safely > remove hardware." My friend insists it's safe to remove a USB thumb > drive only afterits pilot light goes off. She was rather apprehensive > when I took out her thumb drive from my Ubuntu box with the light > still on, saying it might be damaged. I gave her some meek reassurance > that Linux just does things differently ("iba lang ang Linux").You can use the 'eject' command with the device root (not the partition only) to get the pilot light on the USB device to go off.
All eject does on my system (stock Debian with udev and 2.6.18 kernel ATM) is unmount the partition: $ ls /dev/sd* /dev/sda /dev/sda1 $ eject /dev/sda $ ls /dev/sd* /dev/sda Yes, I know it's not necessary for the light to go out. However I think perceptions do matter, especially when trying to convince someone to try out this Linux thing. _________________________________________________ Philippine Linux Users' Group (PLUG) Mailing List [email protected] (#PLUG @ irc.free.net.ph) Read the Guidelines: http://linux.org.ph/lists Searchable Archives: http://archives.free.net.ph

