[52d29f7] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[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 " ">
|
---|
[2e23effc] | 9 | <!ENTITY hdparm-md5sum "4652c49cf096a64683c05f54b4fa4679">
|
---|
[ef5199fa] | 10 | <!ENTITY hdparm-size "136 KB">
|
---|
[989c203] | 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 | <sect1info>
|
---|
| 19 | <othername>$LastChangedBy$</othername>
|
---|
| 20 | <date>$Date$</date>
|
---|
| 21 | </sect1info>
|
---|
| 22 |
|
---|
| 23 | <title>Hdparm-&hdparm-version;</title>
|
---|
| 24 |
|
---|
| 25 | <indexterm zone="hdparm">
|
---|
| 26 | <primary sortas="a-Hdparm">Hdparm</primary>
|
---|
| 27 | </indexterm>
|
---|
| 28 |
|
---|
| 29 | <sect2 role="package">
|
---|
| 30 | <title>Introduction to Hdparm</title>
|
---|
| 31 |
|
---|
[c627795] | 32 | <para>
|
---|
[73fe507] | 33 | The <application>Hdparm</application> package contains a utility that
|
---|
[af8a78d] | 34 | is useful for obtaining information about, and controlling ATA/IDE
|
---|
| 35 | controllers and hard drives. It allows to
|
---|
[c627795] | 36 | increase performance and sometimes to increase stability.
|
---|
| 37 | </para>
|
---|
[343bcdb] | 38 |
|
---|
[9eb7ee7] | 39 | &lfs83_checked;
|
---|
[ea6012c] | 40 |
|
---|
[343bcdb] | 41 | <warning>
|
---|
[c627795] | 42 | <para>
|
---|
| 43 | As well as being useful, incorrect usage of
|
---|
| 44 | <application>Hdparm</application> can destroy your information and in
|
---|
| 45 | rare cases, drives. Use with caution and make sure you know what you
|
---|
| 46 | are doing. If in doubt, it is recommended that you leave the default
|
---|
| 47 | kernel parameters alone.
|
---|
| 48 | </para>
|
---|
[343bcdb] | 49 | </warning>
|
---|
| 50 |
|
---|
| 51 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 52 | <itemizedlist spacing="compact">
|
---|
| 53 | <listitem>
|
---|
[c627795] | 54 | <para>
|
---|
| 55 | Download (HTTP): <ulink url="&hdparm-download-http;"/>
|
---|
| 56 | </para>
|
---|
[343bcdb] | 57 | </listitem>
|
---|
| 58 | <listitem>
|
---|
[c627795] | 59 | <para>
|
---|
| 60 | Download (FTP): <ulink url="&hdparm-download-ftp;"/>
|
---|
| 61 | </para>
|
---|
[343bcdb] | 62 | </listitem>
|
---|
| 63 | <listitem>
|
---|
[c627795] | 64 | <para>
|
---|
| 65 | Download MD5 sum: &hdparm-md5sum;
|
---|
| 66 | </para>
|
---|
[343bcdb] | 67 | </listitem>
|
---|
| 68 | <listitem>
|
---|
[c627795] | 69 | <para>
|
---|
| 70 | Download size: &hdparm-size;
|
---|
| 71 | </para>
|
---|
[343bcdb] | 72 | </listitem>
|
---|
| 73 | <listitem>
|
---|
[c627795] | 74 | <para>
|
---|
| 75 | Estimated disk space required: &hdparm-buildsize;
|
---|
| 76 | </para>
|
---|
[343bcdb] | 77 | </listitem>
|
---|
| 78 | <listitem>
|
---|
[c627795] | 79 | <para>
|
---|
| 80 | Estimated build time: &hdparm-time;
|
---|
| 81 | </para>
|
---|
[343bcdb] | 82 | </listitem>
|
---|
| 83 | </itemizedlist>
|
---|
| 84 |
|
---|
[1039de3] | 85 | <para condition="html" role="usernotes">User Notes:
|
---|
[c627795] | 86 | <ulink url="&blfs-wiki;/hdparm"/>
|
---|
| 87 | </para>
|
---|
[343bcdb] | 88 | </sect2>
|
---|
| 89 |
|
---|
| 90 | <sect2 role="installation">
|
---|
| 91 | <title>Installation of Hdparm</title>
|
---|
| 92 |
|
---|
[c627795] | 93 | <para>
|
---|
| 94 | Build <application>Hdparm</application> by running the following
|
---|
| 95 | command:
|
---|
| 96 | </para>
|
---|
[343bcdb] | 97 |
|
---|
| 98 | <screen><userinput>make</userinput></screen>
|
---|
| 99 |
|
---|
[c627795] | 100 | <para>
|
---|
| 101 | This package does not come with a test suite.
|
---|
| 102 | </para>
|
---|
[ffd4634] | 103 |
|
---|
[c627795] | 104 | <para>
|
---|
| 105 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 106 | </para>
|
---|
[343bcdb] | 107 |
|
---|
| 108 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 109 |
|
---|
[8d2de54] | 110 | <note><para>
|
---|
[c627795] | 111 | Note that by default, <command>hdparm</command> is installed in
|
---|
| 112 | <filename class="directory">/sbin</filename> as some systems may require it
|
---|
| 113 | during the boot process before <filename class="directory">/usr</filename>
|
---|
| 114 | is mounted. If you wish to install <command>hdparm</command> under the
|
---|
| 115 | <filename class="directory">/usr</filename> hierarchy, then replace the above
|
---|
| 116 | command with the following:
|
---|
| 117 | </para>
|
---|
[343bcdb] | 118 |
|
---|
[066dad5a] | 119 | <screen role="root"><userinput>make binprefix=/usr install</userinput></screen></note>
|
---|
[343bcdb] | 120 |
|
---|
| 121 | </sect2>
|
---|
| 122 |
|
---|
| 123 | <sect2 role="content">
|
---|
| 124 | <title>Contents</title>
|
---|
| 125 |
|
---|
| 126 | <segmentedlist>
|
---|
| 127 | <segtitle>Installed Program</segtitle>
|
---|
[c3c56b2] | 128 | <segtitle>Installed Libraries</segtitle>
|
---|
| 129 | <segtitle>Installed Directories</segtitle>
|
---|
[343bcdb] | 130 |
|
---|
| 131 | <seglistitem>
|
---|
[c627795] | 132 | <seg>
|
---|
| 133 | hdparm
|
---|
| 134 | </seg>
|
---|
[c3c56b2] | 135 | <seg>
|
---|
| 136 | None
|
---|
| 137 | </seg>
|
---|
| 138 | <seg>
|
---|
| 139 | None
|
---|
| 140 | </seg>
|
---|
[343bcdb] | 141 | </seglistitem>
|
---|
| 142 | </segmentedlist>
|
---|
| 143 |
|
---|
| 144 | <variablelist>
|
---|
| 145 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 146 | <?dbfo list-presentation="list"?>
|
---|
| 147 | <?dbhtml list-presentation="table"?>
|
---|
| 148 |
|
---|
| 149 | <varlistentry id="hdparm-prog">
|
---|
| 150 | <term><command>hdparm</command></term>
|
---|
| 151 | <listitem>
|
---|
[c627795] | 152 | <para>
|
---|
| 153 | provides a command-line interface to various hard disk ioctls
|
---|
| 154 | supported by the stock Linux ATA/IDE device driver subsystem.
|
---|
| 155 | </para>
|
---|
[343bcdb] | 156 | <indexterm zone="hdparm hdparm-prog">
|
---|
| 157 | <primary sortas="b-hdparm">hdparm</primary>
|
---|
| 158 | </indexterm>
|
---|
| 159 | </listitem>
|
---|
| 160 | </varlistentry>
|
---|
| 161 |
|
---|
| 162 | </variablelist>
|
---|
| 163 |
|
---|
| 164 | </sect2>
|
---|
[f45b1953] | 165 |
|
---|
| 166 | </sect1>
|
---|