LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Applet to power off usb devices (pendrives mostly) (https://www.linuxquestions.org/questions/slackware-14/applet-to-power-off-usb-devices-pendrives-mostly-4175669748/)

igadoter 02-17-2020 04:10 AM

Applet to power off usb devices (pendrives mostly)
 
Essentially desktops offer unmount/eject options. My experience taught me to take also about powering off usb pendrives. Issuing from inside desktop eject command say in thunar still keeps device present in system and powered. I just use udisksctl power-off -b command - but it would be more convenient to have desktop applet for this. Please don't argue there is no need to power off. Just I have lost enough (cheap I guess) usb sticks with more or less important data. In doubts say what is difference between unmount and eject commands in thunar - despite obvious. Eject is causing device icon disappearing from places side panel. Cause no matter unomunt/eject - device is still being listed by lsusb and udisksctl status. I would rather expect eject removes device completely from the system.

upnort 02-17-2020 09:18 PM

Interesting request. I never had a need but that does not mean others don't. Instead of using "Eject" I always "Safely unmount" and then physically remove the stick. The stick is then powered off for sure.

Perhaps when you eject without safely unmounting you cause the data corruption?


All times are GMT -5. The time now is 01:24 AM.