112 lines
2.8 KiB
HTML
112 lines
2.8 KiB
HTML
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
<HTML><HEAD><TITLE>Man page of hdparm.conf</TITLE>
|
|
</HEAD><BODY>
|
|
<H1>hdparm.conf</H1>
|
|
Section: hdparm configuration file (5)<BR>Updated: August 10, 2005<BR><A HREF="#index">Index</A>
|
|
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
|
|
|
|
<A NAME="lbAB"> </A>
|
|
<H2>NAME</H2>
|
|
|
|
<P>
|
|
|
|
hdparm.conf - Debian configuration file for hdparm
|
|
<A NAME="lbAC"> </A>
|
|
<H2>DESCRIPTION</H2>
|
|
|
|
<P>
|
|
|
|
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.
|
|
<P>
|
|
|
|
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
|
|
<P>
|
|
|
|
<B>/usr/lib/pm-utils/power.d/95hdparm-apm resume</B>
|
|
|
|
<P>
|
|
|
|
or by calling
|
|
<P>
|
|
|
|
<B>DEVNAME=/dev/<disk> /lib/udev/hdparm</B>
|
|
|
|
<P>
|
|
|
|
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!!
|
|
<P>
|
|
|
|
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.
|
|
<P>
|
|
|
|
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.
|
|
<P>
|
|
|
|
Setting an option outside of one of the stanzas enables it for all drives.
|
|
<P>
|
|
|
|
If an option is listed twice, the second instance replaces the first.
|
|
<P>
|
|
|
|
/sbin/hdparm is not run unless a block of the form:
|
|
<P>
|
|
|
|
<B>DEV {</B>
|
|
|
|
<DL COMPACT>
|
|
<DT id="1">option<DD>
|
|
<DT id="2">option<DD>
|
|
<DT id="3">}<DD>
|
|
</DL>
|
|
<P>
|
|
|
|
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.
|
|
<A NAME="lbAD"> </A>
|
|
<H2>OPTIONS</H2>
|
|
|
|
<P>
|
|
|
|
See
|
|
<B>man 8 hdparm</B>
|
|
|
|
<A NAME="lbAE"> </A>
|
|
<H2>AUTHOR</H2>
|
|
|
|
hdparm was written by Mark Lord <<A HREF="mailto:mlord@pobox.com">mlord@pobox.com</A>>.
|
|
The initial manual page was created by Stephen Gran <<A HREF="mailto:sgran@debian.org">sgran@debian.org</A>>
|
|
for the Debian GNU/Linux system (but may be used by others).
|
|
<P>
|
|
|
|
<HR>
|
|
<A NAME="index"> </A><H2>Index</H2>
|
|
<DL>
|
|
<DT id="4"><A HREF="#lbAB">NAME</A><DD>
|
|
<DT id="5"><A HREF="#lbAC">DESCRIPTION</A><DD>
|
|
<DT id="6"><A HREF="#lbAD">OPTIONS</A><DD>
|
|
<DT id="7"><A HREF="#lbAE">AUTHOR</A><DD>
|
|
</DL>
|
|
<HR>
|
|
This document was created by
|
|
<A HREF="/cgi-bin/man/man2html">man2html</A>,
|
|
using the manual pages.<BR>
|
|
Time: 00:06:03 GMT, March 31, 2021
|
|
</BODY>
|
|
</HTML>
|