summaryrefslogtreecommitdiffstats
path: root/upstream/debian-bookworm/man5/hdparm.conf.5
diff options
context:
space:
mode:
Diffstat (limited to 'upstream/debian-bookworm/man5/hdparm.conf.5')
-rw-r--r--upstream/debian-bookworm/man5/hdparm.conf.563
1 files changed, 63 insertions, 0 deletions
diff --git a/upstream/debian-bookworm/man5/hdparm.conf.5 b/upstream/debian-bookworm/man5/hdparm.conf.5
new file mode 100644
index 00000000..08a25bc5
--- /dev/null
+++ b/upstream/debian-bookworm/man5/hdparm.conf.5
@@ -0,0 +1,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).