[ab4fdfc] | 1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
[6732c094] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
[52d29f7] | 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
[8dfc5c3] | 7 | <!ENTITY hdparm-download-http "&sourceforge-dl;/hdparm/hdparm-&hdparm-version;.tar.gz">
|
---|
[0de75e4] | 8 | <!ENTITY hdparm-download-ftp " ">
|
---|
[cc1b7f1] | 9 | <!ENTITY hdparm-md5sum "6d6d039d61ec995b1ec72ddce0b1853b">
|
---|
[f8660ab] | 10 | <!ENTITY hdparm-size "140 KB">
|
---|
[cc1b7f1] | 11 | <!ENTITY hdparm-buildsize "1.0 MB">
|
---|
[3053a2f7] | 12 | <!ENTITY hdparm-time "less than 0.1 SBU">
|
---|
[52d29f7] | 13 | ]>
|
---|
| 14 |
|
---|
[c627795] | 15 | <sect1 id="hdparm" xreflabel="Hdparm-&hdparm-version;">
|
---|
[343bcdb] | 16 | <?dbhtml filename="hdparm.html"?>
|
---|
| 17 |
|
---|
| 18 |
|
---|
| 19 | <title>Hdparm-&hdparm-version;</title>
|
---|
| 20 |
|
---|
| 21 | <indexterm zone="hdparm">
|
---|
| 22 | <primary sortas="a-Hdparm">Hdparm</primary>
|
---|
| 23 | </indexterm>
|
---|
| 24 |
|
---|
| 25 | <sect2 role="package">
|
---|
| 26 | <title>Introduction to Hdparm</title>
|
---|
| 27 |
|
---|
[c627795] | 28 | <para>
|
---|
[73fe507] | 29 | The <application>Hdparm</application> package contains a utility that
|
---|
[af8a78d] | 30 | is useful for obtaining information about, and controlling ATA/IDE
|
---|
| 31 | controllers and hard drives. It allows to
|
---|
[c627795] | 32 | increase performance and sometimes to increase stability.
|
---|
| 33 | </para>
|
---|
[343bcdb] | 34 |
|
---|
[aa996df1] | 35 | &lfs122_checked;
|
---|
[ea6012c] | 36 |
|
---|
[343bcdb] | 37 | <warning>
|
---|
[c627795] | 38 | <para>
|
---|
| 39 | As well as being useful, incorrect usage of
|
---|
| 40 | <application>Hdparm</application> can destroy your information and in
|
---|
| 41 | rare cases, drives. Use with caution and make sure you know what you
|
---|
| 42 | are doing. If in doubt, it is recommended that you leave the default
|
---|
| 43 | kernel parameters alone.
|
---|
| 44 | </para>
|
---|
[343bcdb] | 45 | </warning>
|
---|
| 46 |
|
---|
| 47 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 48 | <itemizedlist spacing="compact">
|
---|
| 49 | <listitem>
|
---|
[c627795] | 50 | <para>
|
---|
| 51 | Download (HTTP): <ulink url="&hdparm-download-http;"/>
|
---|
| 52 | </para>
|
---|
[343bcdb] | 53 | </listitem>
|
---|
| 54 | <listitem>
|
---|
[c627795] | 55 | <para>
|
---|
| 56 | Download (FTP): <ulink url="&hdparm-download-ftp;"/>
|
---|
| 57 | </para>
|
---|
[343bcdb] | 58 | </listitem>
|
---|
| 59 | <listitem>
|
---|
[c627795] | 60 | <para>
|
---|
| 61 | Download MD5 sum: &hdparm-md5sum;
|
---|
| 62 | </para>
|
---|
[343bcdb] | 63 | </listitem>
|
---|
| 64 | <listitem>
|
---|
[c627795] | 65 | <para>
|
---|
| 66 | Download size: &hdparm-size;
|
---|
| 67 | </para>
|
---|
[343bcdb] | 68 | </listitem>
|
---|
| 69 | <listitem>
|
---|
[c627795] | 70 | <para>
|
---|
| 71 | Estimated disk space required: &hdparm-buildsize;
|
---|
| 72 | </para>
|
---|
[343bcdb] | 73 | </listitem>
|
---|
| 74 | <listitem>
|
---|
[c627795] | 75 | <para>
|
---|
| 76 | Estimated build time: &hdparm-time;
|
---|
| 77 | </para>
|
---|
[343bcdb] | 78 | </listitem>
|
---|
| 79 | </itemizedlist>
|
---|
| 80 |
|
---|
| 81 | </sect2>
|
---|
| 82 |
|
---|
| 83 | <sect2 role="installation">
|
---|
| 84 | <title>Installation of Hdparm</title>
|
---|
| 85 |
|
---|
[c627795] | 86 | <para>
|
---|
| 87 | Build <application>Hdparm</application> by running the following
|
---|
| 88 | command:
|
---|
| 89 | </para>
|
---|
[343bcdb] | 90 |
|
---|
| 91 | <screen><userinput>make</userinput></screen>
|
---|
| 92 |
|
---|
[c627795] | 93 | <para>
|
---|
| 94 | This package does not come with a test suite.
|
---|
| 95 | </para>
|
---|
[ffd4634] | 96 |
|
---|
[c627795] | 97 | <para>
|
---|
| 98 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 99 | </para>
|
---|
[343bcdb] | 100 |
|
---|
[c3d04c0] | 101 | <screen role="root"><userinput>make binprefix=/usr install</userinput></screen>
|
---|
[343bcdb] | 102 |
|
---|
[7246c35] | 103 | <!-- no longer relevant with merged-/usr
|
---|
[8d2de54] | 104 | <note><para>
|
---|
[c627795] | 105 | Note that by default, <command>hdparm</command> is installed in
|
---|
| 106 | <filename class="directory">/sbin</filename> as some systems may require it
|
---|
| 107 | during the boot process before <filename class="directory">/usr</filename>
|
---|
| 108 | is mounted. If you wish to install <command>hdparm</command> under the
|
---|
| 109 | <filename class="directory">/usr</filename> hierarchy, then replace the above
|
---|
| 110 | command with the following:
|
---|
| 111 | </para>
|
---|
[343bcdb] | 112 |
|
---|
[fbbc908] | 113 | <screen role="nodump"><userinput>make binprefix=/usr install</userinput></screen></note>
|
---|
[7246c35] | 114 | -->
|
---|
[343bcdb] | 115 |
|
---|
| 116 | </sect2>
|
---|
| 117 |
|
---|
| 118 | <sect2 role="content">
|
---|
| 119 | <title>Contents</title>
|
---|
| 120 |
|
---|
| 121 | <segmentedlist>
|
---|
| 122 | <segtitle>Installed Program</segtitle>
|
---|
[c3c56b2] | 123 | <segtitle>Installed Libraries</segtitle>
|
---|
| 124 | <segtitle>Installed Directories</segtitle>
|
---|
[343bcdb] | 125 |
|
---|
| 126 | <seglistitem>
|
---|
[c627795] | 127 | <seg>
|
---|
| 128 | hdparm
|
---|
| 129 | </seg>
|
---|
[c3c56b2] | 130 | <seg>
|
---|
| 131 | None
|
---|
| 132 | </seg>
|
---|
| 133 | <seg>
|
---|
| 134 | None
|
---|
| 135 | </seg>
|
---|
[343bcdb] | 136 | </seglistitem>
|
---|
| 137 | </segmentedlist>
|
---|
| 138 |
|
---|
| 139 | <variablelist>
|
---|
| 140 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 141 | <?dbfo list-presentation="list"?>
|
---|
| 142 | <?dbhtml list-presentation="table"?>
|
---|
| 143 |
|
---|
| 144 | <varlistentry id="hdparm-prog">
|
---|
| 145 | <term><command>hdparm</command></term>
|
---|
| 146 | <listitem>
|
---|
[c627795] | 147 | <para>
|
---|
| 148 | provides a command-line interface to various hard disk ioctls
|
---|
[4c24eb0a] | 149 | supported by the stock Linux ATA/IDE device driver subsystem
|
---|
[c627795] | 150 | </para>
|
---|
[343bcdb] | 151 | <indexterm zone="hdparm hdparm-prog">
|
---|
| 152 | <primary sortas="b-hdparm">hdparm</primary>
|
---|
| 153 | </indexterm>
|
---|
| 154 | </listitem>
|
---|
| 155 | </varlistentry>
|
---|
| 156 |
|
---|
| 157 | </variablelist>
|
---|
| 158 |
|
---|
| 159 | </sect2>
|
---|
[f45b1953] | 160 |
|
---|
| 161 | </sect1>
|
---|