hdparm.8 (hdparm-9.58) | : | hdparm.8 (hdparm-9.60) | ||
---|---|---|---|---|
skipping to change at line 364 | skipping to change at line 364 | |||
multiples of 5 seconds, yielding timeouts from 5 seconds to 20 min utes. Values from 241 to 251 | multiples of 5 seconds, yielding timeouts from 5 seconds to 20 min utes. Values from 241 to 251 | |||
specify from 1 to 11 units of 30 minutes, yielding timeouts from 30 minutes to 5.5 hours. A value | specify from 1 to 11 units of 30 minutes, yielding timeouts from 30 minutes to 5.5 hours. A value | |||
of 252 signifies a timeout of 21 minutes. A value of 253 sets a vendor-defined timeout period | of 252 signifies a timeout of 21 minutes. A value of 253 sets a vendor-defined timeout period | |||
between 8 and 12 hours, and the value 254 is reserved. 255 is interpreted as 21 minutes plus 15 | between 8 and 12 hours, and the value 254 is reserved. 255 is interpreted as 21 minutes plus 15 | |||
seconds. Note that some older drives may have very different inte rpretations of these values. | seconds. Note that some older drives may have very different inte rpretations of these values. | |||
--set-sector-size | --set-sector-size | |||
For drives which support reconfiguring of the Logical Sector Size, this flag can be used to specify | For drives which support reconfiguring of the Logical Sector Size, this flag can be used to specify | |||
the new desired sector size in bytes. VERY DANGEROUS. This most likely will scramble all data on | the new desired sector size in bytes. VERY DANGEROUS. This most likely will scramble all data on | |||
the drive. The specified size must be one of 512, 520, 528, 4096, 4160, or 4224. Very few drives | the drive. The specified size must be one of 512, 520, 528, 4096, 4160, or 4224. Very few drives | |||
support values other than 512 and 4096. | support values other than 512 and 4096. Eg. hdparm --set-sector- size 4096 /dev/sdb | |||
-t Perform timings of device reads for benchmark and comparison p urposes. For meaningful results, | -t Perform timings of device reads for benchmark and comparison p urposes. For meaningful results, | |||
this operation should be repeated 2-3 times on an otherwise inacti ve system (no other active pro- | this operation should be repeated 2-3 times on an otherwise inacti ve system (no other active pro- | |||
cesses) with at least a couple of megabytes of free memory. T his displays the speed of reading | cesses) with at least a couple of megabytes of free memory. T his displays the speed of reading | |||
through the buffer cache to the disk without any prior caching of data. This measurement is an | through the buffer cache to the disk without any prior caching of data. This measurement is an | |||
indication of how fast the drive can sustain sequential da ta reads under Linux, without any | indication of how fast the drive can sustain sequential da ta reads under Linux, without any | |||
filesystem overhead. To ensure accurate measurements, the buffer cache is flushed during the pro- | filesystem overhead. To ensure accurate measurements, the buffer cache is flushed during the pro- | |||
cessing of -t using the BLKFLSBUF ioctl. | cessing of -t using the BLKFLSBUF ioctl. | |||
-T Perform timings of cache reads for benchmark and comparison purpos es. For meaningful results, this | -T Perform timings of cache reads for benchmark and comparison purpos es. For meaningful results, this | |||
skipping to change at line 560 | skipping to change at line 560 | |||
PIO data out security commands by Leonard den Ottolander, 2005. Some oth er parts by Benjamin Benz and | PIO data out security commands by Leonard den Ottolander, 2005. Some oth er parts by Benjamin Benz and | |||
others. | others. | |||
SEE ALSO | SEE ALSO | |||
http://www.t13.org/ Technical Committee T13 AT Attachment (ATA/ATAPI) Int erface. | http://www.t13.org/ Technical Committee T13 AT Attachment (ATA/ATAPI) Int erface. | |||
http://www.serialata.org/ Serial ATA International Organization. | http://www.serialata.org/ Serial ATA International Organization. | |||
http://www.compactflash.org/ CompactFlash Association. | http://www.compactflash.org/ CompactFlash Association. | |||
Version 9.58 October 2018 HDPARM(8) | Version 9.60 November 2020 HDPARM(8) | |||
End of changes. 2 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added |