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