On Tue, 20 Jan 2015 14:16, Aaron Digulla wrote:
Am Dienstag, 20. Januar 2015 14:10 CET, Bob Williams schrieb:
A python script mounts an external SATA drive on ~/A3, does an rsync-based backup, then unmounts the drive. I haven't worked out how to get it turn the external enclosure on and off, though ;-)
If you just want the drive to go to sleep (turn off the spindle), then you can use
hdparm -y
That works for most enclosures, but some enclosures I use do that only with "eject", go figure. And, please use the commands (hdparm,eject) on the base device, not the partiton. Some devices do not like that, some commands abort on that. - Yamaban -- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org