[52d29f7] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[ff769b8c] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
---|
[52d29f7] | 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
| 7 | <!ENTITY hdparm-download-http "http://www.ibiblio.org/pub/Linux/system/hardware/hdparm-&hdparm-version;.tar.gz">
|
---|
| 8 | <!ENTITY hdparm-download-ftp " ">
|
---|
[a31d341d] | 9 | <!ENTITY hdparm-md5sum "a4187336bc79a8538549e18540313ffd">
|
---|
[b37eb5f] | 10 | <!ENTITY hdparm-size "38 KB">
|
---|
| 11 | <!ENTITY hdparm-buildsize "404 KB">
|
---|
[52d29f7] | 12 | <!ENTITY hdparm-time "0.01 SBU">
|
---|
| 13 | ]>
|
---|
| 14 |
|
---|
[f45b1953] | 15 | <sect1 id="hdparm" xreflabel="hdparm-&hdparm-version;">
|
---|
[a0f03b0] | 16 | <sect1info>
|
---|
[5cd0959d] | 17 | <othername>$LastChangedBy$</othername>
|
---|
| 18 | <date>$Date$</date>
|
---|
[a0f03b0] | 19 | </sect1info>
|
---|
[7f72cbf] | 20 | <?dbhtml filename="hdparm.html"?>
|
---|
[f45b1953] | 21 | <title>hdparm-&hdparm-version;</title>
|
---|
[b37eb5f] | 22 | <indexterm zone="hdparm">
|
---|
| 23 | <primary sortas="a-Hdparm">Hdparm</primary>
|
---|
| 24 | </indexterm>
|
---|
[f45b1953] | 25 |
|
---|
[52d29f7] | 26 | <sect2>
|
---|
| 27 | <title>Introduction to <application>hdparm</application></title>
|
---|
[4188f1f] | 28 |
|
---|
[b37eb5f] | 29 | <para>The <application>hdparm</application> package contains a utility that is
|
---|
| 30 | useful for controlling <acronym>ATA</acronym>/<acronym>IDE</acronym>
|
---|
| 31 | controllers and hard drives both to increase performance and sometimes to
|
---|
| 32 | increase stability.</para>
|
---|
[4188f1f] | 33 |
|
---|
[52d29f7] | 34 | <warning><para>As well as being useful, incorrect usage of
|
---|
| 35 | <application>hdparm</application> can destroy your information and in
|
---|
| 36 | rare cases, drives. Use with caution and make sure you know what you are
|
---|
| 37 | doing. If in doubt, we recommend you leave the default kernel parameters
|
---|
| 38 | alone.</para></warning>
|
---|
[4188f1f] | 39 |
|
---|
[52d29f7] | 40 | <sect3><title>Package information</title>
|
---|
| 41 | <itemizedlist spacing='compact'>
|
---|
[b37eb5f] | 42 | <listitem><para>Download (HTTP):
|
---|
| 43 | <ulink url="&hdparm-download-http;"/></para></listitem>
|
---|
| 44 | <listitem><para>Download (FTP):
|
---|
| 45 | <ulink url="&hdparm-download-ftp;"/></para></listitem>
|
---|
[a31d341d] | 46 | <listitem><para>Download MD5 sum:
|
---|
| 47 | &hdparm-md5sum;</para></listitem>
|
---|
[b37eb5f] | 48 | <listitem><para>Download size:
|
---|
| 49 | &hdparm-size;</para></listitem>
|
---|
| 50 | <listitem><para>Estimated disk space required:
|
---|
| 51 | &hdparm-buildsize;</para></listitem>
|
---|
| 52 | <listitem><para>Estimated build time:
|
---|
| 53 | &hdparm-time;</para></listitem></itemizedlist>
|
---|
[52d29f7] | 54 | </sect3>
|
---|
[4188f1f] | 55 |
|
---|
[52d29f7] | 56 | </sect2>
|
---|
| 57 |
|
---|
| 58 | <sect2>
|
---|
| 59 | <title>Installation of <application>hdparm</application></title>
|
---|
[4188f1f] | 60 |
|
---|
[b37eb5f] | 61 | <para>Build <application>hdparm</application> by running the following
|
---|
| 62 | command:</para>
|
---|
[4188f1f] | 63 |
|
---|
[b37eb5f] | 64 | <screen><userinput><command>make</command></userinput></screen>
|
---|
[4188f1f] | 65 |
|
---|
[b37eb5f] | 66 | <para>As the root user, install <application>hdparm</application>:</para>
|
---|
[4188f1f] | 67 |
|
---|
[b37eb5f] | 68 | <screen><userinput role='root'><command>make install</command></userinput></screen>
|
---|
[4188f1f] | 69 |
|
---|
[52d29f7] | 70 | <para>Note that by default, <command>hdparm</command> is installed in
|
---|
| 71 | <filename class="directory">/sbin</filename> as some systems may require it
|
---|
| 72 | during the boot process before <filename class="directory">/usr</filename>
|
---|
| 73 | is mounted. If you wish to install <command>hdparm</command> under the
|
---|
| 74 | <filename class="directory">/usr</filename> hierarchy, then replace the above
|
---|
[b37eb5f] | 75 | command with the following:</para>
|
---|
[4188f1f] | 76 |
|
---|
[b37eb5f] | 77 | <screen><userinput role='root'><command>make binprefix=/usr install</command></userinput></screen>
|
---|
[4188f1f] | 78 |
|
---|
[52d29f7] | 79 | </sect2>
|
---|
| 80 |
|
---|
| 81 | <sect2>
|
---|
| 82 | <title>Contents</title>
|
---|
[4188f1f] | 83 |
|
---|
[b37eb5f] | 84 | <segmentedlist>
|
---|
| 85 | <segtitle>Installed Program</segtitle>
|
---|
| 86 | <segtitle>Installed Libraries</segtitle>
|
---|
| 87 | <segtitle>Installed Directories</segtitle>
|
---|
| 88 |
|
---|
| 89 | <seglistitem>
|
---|
| 90 | <seg>hdparm</seg>
|
---|
| 91 | <seg>None</seg>
|
---|
| 92 | <seg>None</seg>
|
---|
| 93 | </seglistitem>
|
---|
| 94 | </segmentedlist>
|
---|
| 95 |
|
---|
| 96 | <variablelist>
|
---|
| 97 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 98 | <?dbfo list-presentation="list"?>
|
---|
| 99 |
|
---|
| 100 | <varlistentry id="hdparm-prog">
|
---|
| 101 | <term><command>hdparm</command></term>
|
---|
| 102 | <listitem><para>provides a command-line interface to various hard disk ioctls
|
---|
| 103 | supported by the stock Linux <acronym>ATA</acronym>/<acronym>IDE</acronym>
|
---|
| 104 | device driver subsystem.</para>
|
---|
| 105 | <indexterm zone="hdparm hdparm-prog">
|
---|
| 106 | <primary sortas="b-hdparm">hdparm</primary>
|
---|
| 107 | </indexterm></listitem>
|
---|
| 108 | </varlistentry>
|
---|
| 109 | </variablelist>
|
---|
[4188f1f] | 110 |
|
---|
[52d29f7] | 111 | </sect2>
|
---|
[f45b1953] | 112 |
|
---|
| 113 | </sect1>
|
---|
| 114 |
|
---|