Hi Sam, On jeu, 2008-04-03 at 17:30 +0100, Sam Morris wrote: > Hi Xavier, > > Do you know if the current version of HAL still has this problem? I > suspect it doesn't because for quite some time now, when ejecting a USB > disk in Nautilus, there has been a pop-up saying "don't remove the > device yet, it's not safe!" that goes away once data has been flushed to > the device.
That's not the same thing. The code behind this popup ensures all data has been properly synced to the usb drive before unmounting it. What's missing is a command to poweroff the usb port afterwards. > Do you have any references about the correct way to safely remove USB > devices on Linux? eject /dev/sd? used to work, but it doesn't anymore. echo 0 >/sys/bus/usb/devices/???/power/state used to work too, but apparently it has been removed from recent kernels, and I don't know what's the new way of doing it. I'll research a bit more about that. Xav -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]