Hello David,

Wednesday, June 12, 2002, 11:19:16 PM, you textually orated:

DT> -----BEGIN PGP SIGNED MESSAGE-----
DT> Hash: SHA1


DT> What was Mr. Lord (author of hdparm) smoking?

DT> - From the man page:

DT> - -S     Set the standby (spindown) timeout for the drive.  This value
DT>        is used by the drive to determine how long to wait  (with  no
DT>        disk  activity)  before turning off the spindle motor to save
DT>        power.  Under such circumstances, the drive may take as  long
DT>        as  30 seconds to respond to a subsequent disk access, though
DT>        most drives are much quicker.  The encoding  of  the  timeout
DT>        value  is  somewhat  peculiar.   A value of zero means "off".
DT>        Values from 1 to 240 specify  multiples  of  5  seconds,  for
DT>        timeouts  from  5  seconds to 20 minutes.  Values from 241 to
DT>        251 specify from 1 to 11 units of 30  minutes,  for  timeouts
DT>        from  30  minutes  to  5.5 hours.  A value of 252 signifies a
DT>        timeout of 21 minutes, 253 sets a vendor-defined timeout, and
DT>        255 is interpreted as 21 minutes plus 15 seconds.



DT> ..."somewhat peculiar"?

DT> *boggle* -d


I would bet that this is not his doing, but the doing of those that wrote
the ATA specification. They likely didn't want to make something too
complicated since most BIOSes work under a limited amount of memory so they
tried to come up with something that would work in a single byte. The other
tip-off would be that 253 sets a vendor defined time-out. I doubt hdparm has
the vendor defined timeouts for every drive out there.

Have fun,
-- 
_________________________________________________________________
 Brian Ashe                     CTO
 [EMAIL PROTECTED]              Dee-Web Software Services, LLC.
 http://www.dee-web.com/
-----------------------------------------------------------------



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to