1
## This is the default configuration for hdparm for Debian. It is a
2
## rather simple script, so please follow the following guidelines :)
3
## Any line that begins with a comment is ignored - add as many as you
4
## like. Note that an in-line comment is not supported. If a line
5
## consists of whitespace only (tabs, spaces, carriage return), it will be
6
## ignored, so you can space control fields as you like. ANYTHING ELSE
7
## IS PARSED!! This means that lines with stray characters or lines that
8
## use non # comment characters will be interpreted by the initscript.
9
## This has probably minor, but potentially serious, side effects for your
10
## hard drives, so please follow the guidelines. Patches to improve
11
## flexibilty welcome. Please read /usr/share/doc/hdparm/README.Debian for
12
## notes about known issues, especially if you have an MD array.
14
## Note that if the init script causes boot problems, you can pass 'nohdparm'
15
## on the kernel command line, and the script will not be run.
19
# -a sector count for filesystem read-ahead
21
# -A disable/enable the IDE drive's read-lookahead feature
27
# -c enable (E)IDE 32-bit I/O support - can be any of 0,1,3
29
# -d disable/enable the "using_dma" flag for this drive
31
# -D enable/disable the on-drive defect management
35
# -k disable/enable the "keep_settings_over_reset" flag for this drive
36
#keep_settings_over_reset = off
37
# -K disable/enable the drive's "keep_features_over_reset" flag
38
#keep_features_over_reset = on
39
# -m sector count for multiple sector I/O
41
# -P maximum sector count for the drive's internal prefetch mechanism
43
# -r read-only flag for device
45
# -S standby (spindown) timeout for the drive
47
# -u interrupt-unmask flag for the drive
48
#interrupt_unmask = on
49
# -W Disable/enable the IDE drive's write-caching feature
51
# -X IDE transfer mode for newer (E)IDE/ATA2 drives
53
# -y force to immediately enter the standby mode
55
# -Y force to immediately enter the sleep mode
57
# -Z Disable the power-saving function of certain Seagate drives
59
# -M Set the acoustic management properties of a drive
61
# -p Set the chipset PIO mode
64
## New note - you can use straight hdparm commands in this config file
65
## as well - the set up is ugly, but it keeps backwards compatibility
66
## Additionally, it should be noted that any blocks that begin with
67
## the keyword 'command_line' are not run until after the root filesystem
68
## is mounted. This is done to avoid running blocks twice. If you need
69
## to run hdparm to set parameters for your root disk, please use the
73
#First three are good for devfs systems, fourth one for systems that do
74
#not use devfs. The fifth example uses straight hdparm command line
75
#syntax. Any of the blocks that use command line syntax must begin with
76
#the keyword 'command_line', and no attempt is made to validate syntax.
77
#It is provided for those more comfortable with hdparm syntax.
79
#/dev/discs/disc0/disc {
85
#/dev/discs/disc1/disc {
93
# interrupt_unmask = on
104
# hdparm -q -m16 -q -W0 -q -d1 /dev/hda