Debian Codegraph @

upstream/debian-unstable/man5/hdparm.conf.5

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