harddisk -> sleep
Michl Ladislav
xmichl03 na stud.fee.vutbr.cz
Úterý Únor 6 02:00:22 CET 2001
On Tue, 6 Feb 2001, Zbyněk Jun wrote:
> Neexistuje nejaky setric hardisku ? Masina mi nenajede se zapnutym APM v
> BIOSu (asi kombinace mb a hd, proste se zasekne bootovani po rozpoznani
> disku) a docela bych uvital, kdyby se po nejake dobe necinnosti "ztisil".
> Jde nejak osidit ten bios (board s cipsetem UMC 881/886) a obejit to pres OS
> (apm v jadre to neumi) ?
hdparm -S xxx /dev/hdx
z manu:
-S Set the standby (spindown) timeout for the drive.
This value is used by the drive to determine how
long to wait (with no disk activity) before turning
off the spindle motor to save power. Under such
circumstances, the drive may take as long as 30
seconds to respond to a subsequent disk access,
though most drives are much quicker. The encoding
of the timeout value is somewhat peculiar. A value
of zero means "off". Values from 1 to 240 specify
multiples of 5 seconds, for timeouts from 5 seconds
to 20 minutes. Values from 241 to 251 specify from
1 to 11 units of 30 minutes, for timeouts from 30
minutes to 5.5 hours. A value of 252 signifies a
timeout of 21 minutes, 253 sets a vendor-defined
timeout, and 255 is interpreted as 21 minutes plus
15 seconds.
Další informace o konferenci Linux