[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 " ">
|
---|
[94c2369] | 9 | <!ENTITY hdparm-md5sum "cea97ea2aa164f66817adc98c6814280">
|
---|
[f8660ab] | 10 | <!ENTITY hdparm-size "140 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 | <date>$Date$</date>
|
---|
| 20 | </sect1info>
|
---|
| 21 |
|
---|
| 22 | <title>Hdparm-&hdparm-version;</title>
|
---|
| 23 |
|
---|
| 24 | <indexterm zone="hdparm">
|
---|
| 25 | <primary sortas="a-Hdparm">Hdparm</primary>
|
---|
| 26 | </indexterm>
|
---|
| 27 |
|
---|
| 28 | <sect2 role="package">
|
---|
| 29 | <title>Introduction to Hdparm</title>
|
---|
| 30 |
|
---|
[c627795] | 31 | <para>
|
---|
[73fe507] | 32 | The <application>Hdparm</application> package contains a utility that
|
---|
[af8a78d] | 33 | is useful for obtaining information about, and controlling ATA/IDE
|
---|
| 34 | controllers and hard drives. It allows to
|
---|
[c627795] | 35 | increase performance and sometimes to increase stability.
|
---|
| 36 | </para>
|
---|
[343bcdb] | 37 |
|
---|
[ca783379] | 38 | &lfs111_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 |
|
---|
[c3d04c0] | 107 | <screen role="root"><userinput>make binprefix=/usr install</userinput></screen>
|
---|
[343bcdb] | 108 |
|
---|
[7246c35] | 109 | <!-- no longer relevant with merged-/usr
|
---|
[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 |
|
---|
[fbbc908] | 119 | <screen role="nodump"><userinput>make binprefix=/usr install</userinput></screen></note>
|
---|
[7246c35] | 120 | -->
|
---|
[343bcdb] | 121 |
|
---|
| 122 | </sect2>
|
---|
| 123 |
|
---|
| 124 | <sect2 role="content">
|
---|
| 125 | <title>Contents</title>
|
---|
| 126 |
|
---|
| 127 | <segmentedlist>
|
---|
| 128 | <segtitle>Installed Program</segtitle>
|
---|
[c3c56b2] | 129 | <segtitle>Installed Libraries</segtitle>
|
---|
| 130 | <segtitle>Installed Directories</segtitle>
|
---|
[343bcdb] | 131 |
|
---|
| 132 | <seglistitem>
|
---|
[c627795] | 133 | <seg>
|
---|
| 134 | hdparm
|
---|
| 135 | </seg>
|
---|
[c3c56b2] | 136 | <seg>
|
---|
| 137 | None
|
---|
| 138 | </seg>
|
---|
| 139 | <seg>
|
---|
| 140 | None
|
---|
| 141 | </seg>
|
---|
[343bcdb] | 142 | </seglistitem>
|
---|
| 143 | </segmentedlist>
|
---|
| 144 |
|
---|
| 145 | <variablelist>
|
---|
| 146 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 147 | <?dbfo list-presentation="list"?>
|
---|
| 148 | <?dbhtml list-presentation="table"?>
|
---|
| 149 |
|
---|
| 150 | <varlistentry id="hdparm-prog">
|
---|
| 151 | <term><command>hdparm</command></term>
|
---|
| 152 | <listitem>
|
---|
[c627795] | 153 | <para>
|
---|
| 154 | provides a command-line interface to various hard disk ioctls
|
---|
[4c24eb0a] | 155 | supported by the stock Linux ATA/IDE device driver subsystem
|
---|
[c627795] | 156 | </para>
|
---|
[343bcdb] | 157 | <indexterm zone="hdparm hdparm-prog">
|
---|
| 158 | <primary sortas="b-hdparm">hdparm</primary>
|
---|
| 159 | </indexterm>
|
---|
| 160 | </listitem>
|
---|
| 161 | </varlistentry>
|
---|
| 162 |
|
---|
| 163 | </variablelist>
|
---|
| 164 |
|
---|
| 165 | </sect2>
|
---|
[f45b1953] | 166 |
|
---|
| 167 | </sect1>
|
---|