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