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