How to turn off the power of hard drive?

don don at drussell.dnsalias.com
Tue Jan 20 22:32:38 UTC 2004


Andy Green said:

> Word of warning, I set -S 0 on an old laptop drive, it subsequently spun
> down
> immediately after each IO action :-)  Not sure if that's par for the
> course
> or just a weird one but I now avoid -S 0.

According to the man pages, a spin-down parm of zero means "off". Sounds
like a bug you can report.

lol, may be the guy that wrote the code thought "off" was referring to the
drive and not the feature. ;-)

In all likelihood, I'm sure it was (is?) just an oversight in decoding the
parm. Values from 1-240 are multiples of 5 seconds, so I bet the code did
a simple x multipled by 5, came up with zero seconds and said "that's the
delay", instead of handling the special case of zero separately.





More information about the fedora-list mailing list