Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- You can do this using udisks. it is not installed by default but easy enough to install (the package is like a meg in size once installed)...
- sudo apt-get install udisks
- Once installed you can detach a USB drive with the following commands...
- sudo udisks --unmount /dev/sdb1
- sudo udisks --detach /dev/sdb
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement