[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 " ">
|
---|
[c627795] | 9 | <!ENTITY hdparm-md5sum "2bc17b72403885d4faf959682944243b">
|
---|
[ea6012c] | 10 | <!ENTITY hdparm-size "124 KB">
|
---|
| 11 | <!ENTITY hdparm-buildsize "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 |
|
---|
[55b07cb] | 38 | &lfs71_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 |
|
---|
[c627795] | 109 | <para>
|
---|
| 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 |
|
---|
[c11a232] | 118 | <screen role="root"><userinput>make binprefix=/usr/ install</userinput></screen>
|
---|
[343bcdb] | 119 |
|
---|
| 120 | </sect2>
|
---|
| 121 |
|
---|
| 122 | <sect2 role="content">
|
---|
| 123 | <title>Contents</title>
|
---|
| 124 |
|
---|
| 125 | <segmentedlist>
|
---|
| 126 | <segtitle>Installed Program</segtitle>
|
---|
| 127 |
|
---|
| 128 | <seglistitem>
|
---|
[c627795] | 129 | <seg>
|
---|
| 130 | hdparm
|
---|
| 131 | </seg>
|
---|
[343bcdb] | 132 | </seglistitem>
|
---|
| 133 | </segmentedlist>
|
---|
| 134 |
|
---|
| 135 | <variablelist>
|
---|
| 136 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 137 | <?dbfo list-presentation="list"?>
|
---|
| 138 | <?dbhtml list-presentation="table"?>
|
---|
| 139 |
|
---|
| 140 | <varlistentry id="hdparm-prog">
|
---|
| 141 | <term><command>hdparm</command></term>
|
---|
| 142 | <listitem>
|
---|
[c627795] | 143 | <para>
|
---|
| 144 | provides a command-line interface to various hard disk ioctls
|
---|
| 145 | supported by the stock Linux ATA/IDE device driver subsystem.
|
---|
| 146 | </para>
|
---|
[343bcdb] | 147 | <indexterm zone="hdparm hdparm-prog">
|
---|
| 148 | <primary sortas="b-hdparm">hdparm</primary>
|
---|
| 149 | </indexterm>
|
---|
| 150 | </listitem>
|
---|
| 151 | </varlistentry>
|
---|
| 152 |
|
---|
| 153 | </variablelist>
|
---|
| 154 |
|
---|
| 155 | </sect2>
|
---|
[f45b1953] | 156 |
|
---|
| 157 | </sect1>
|
---|