summaryrefslogtreecommitdiffstats
path: root/upstream/debian-bookworm/man5/hdparm.conf.5
blob: 08a25bc5dfe3d1e2194f483cae2a2dc8afbf5d6e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
.\" Text automatically generated by txt2man-1.4.7
.TH hdparm.conf "5"  "August 10, 2005" "Stephen Gran" "hdparm configuration file"
.SH "NAME"
.LP
hdparm.conf \- Debian configuration file for hdparm
.SH "DESCRIPTION"
.LP
This is the default configuration for hdparm for Debian.
It is a rather simple script, so please follow the following guidelines :)
Any line that begins with a comment is ignored \- add as many as you
like.
.LP
Since hdparm doesn't use init script anymore, this configuration is mainly used
by udev.
Still one can re-apply settings from the config file by calling either
.LP
.B /usr/lib/pm-utils/power.d/95hdparm-apm resume
.LP
or by calling
.LP
.B DEVNAME=/dev/<disk> /lib/udev/hdparm
.LP
Note that an in\-line comment is not supported.  If a line
consists of whitespace only (tabs, spaces, carriage return), it will be
ignored, so you can space control fields as you like.  ANYTHING ELSE
IS PARSED!!
.LP
This means that lines with stray characters or lines that
use non # comment characters will be interpreted by the initscript.
This has probably minor, but potentially serious, side effects for your
hard drives, so please follow the guidelines.
Patches to improve flexibilty welcome.
.LP
Note that if the init script causes boot problems, you can pass 'nohdparm'
on the kernel command line, and the script will not be run.
.LP
Setting an option outside of one of the stanzas enables it for all drives.
.LP
If an option is listed twice, the second instance replaces the first.
.LP
/sbin/hdparm is not run unless a block of the form:
.LP
.B
DEV {
.TP
option
.TP
option
.TP
}
.LP
exists.
This blocks will cause /sbin/hdparm OPTIONS DEV to be run.
Where OPTIONS is the concatenation of all options previously defined
outside of a block and all options defined with in the block.
.SH "OPTIONS"
.LP
See
.B man 8 hdparm
.SH AUTHOR
hdparm was written by Mark Lord <mlord@pobox.com>.
The initial manual page was created by Stephen Gran <sgran@debian.org>
for the Debian GNU/Linux system (but may be used by others).