umount and turn off usb-hdd
Asked by
Anton Yakutovich
Hi there!
Could you add an option turn off for external hdd?
Now I use shell script to do it:
#!/bin/bash
exec 2>&1
pumount $1 || umount $1
sdparm --command=sync $1
sdparm --command=stop $1
thanks for attention
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Ejecter Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Federico Pelloni
- Solved:
- Last query:
- Last reply:
To post a message you must log in.