Try "eject /dev/sdX" (replace X with the device's actual letter".
On Mon, 11 Apr 2005, Alvaro Lopez Ortega wrote: > Alan Stern wrote: > > > Unfortunately, at the moment Linux does not have any way to do this. The > > most it can do is a suspend. > > > >> I would like to turn the device off before let the user unplug it; > >>something like what Windows does with the "safe removal" option. > > > > Is that in fact what Windows does? Are you sure it doesn't just do a > > suspend? If the power was turned off, Windows would have no way of > > knowing when you plugged a new device into the port. > > I think so. My camera turns the display light off and the USB stick > turns its light off as well. It seems to be something more than what > Linux can do at this moment with the suspension stuff. > > -- /------------------------------------+-------------------------\ |Stephen J. Gowdy | SLAC, MailStop 34, | |http://www.slac.stanford.edu/~gowdy/ | 2575 Sand Hill Road, | |http://calendar.yahoo.com/gowdy | Menlo Park CA 94025, USA | |EMail: [EMAIL PROTECTED] | Tel: +1 650 926 3144 | \------------------------------------+-------------------------/ ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Linux-usb-users@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-users