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 " ">
|
---|
9 | <!ENTITY hdparm-size "33 KB">
|
---|
10 | <!ENTITY hdparm-buildsize "257 KB">
|
---|
11 | <!ENTITY hdparm-time "0.01 SBU">
|
---|
12 |
|
---|
13 | ]>
|
---|
14 |
|
---|
15 | <sect1 id="hdparm" xreflabel="hdparm-&hdparm-version;">
|
---|
16 | <?dbhtml filename="hdparm.html"?>
|
---|
17 | <title>hdparm-&hdparm-version;</title>
|
---|
18 |
|
---|
19 | <sect2>
|
---|
20 | <title>Introduction to <application>hdparm</application></title>
|
---|
21 |
|
---|
22 | <para>The <application>hdparm</application> package contains a
|
---|
23 | utility that is useful for controlling <acronym>ATA</acronym>/<acronym>IDE
|
---|
24 | </acronym> controllers and hard drives both to increase
|
---|
25 | performance and sometimes to increase stability.</para>
|
---|
26 |
|
---|
27 | <warning><para>As well as being useful, incorrect usage of
|
---|
28 | <application>hdparm</application> can destroy your information and in
|
---|
29 | rare cases, drives. Use with caution and make sure you know what you are
|
---|
30 | doing. If in doubt, we recommend you leave the default kernel parameters
|
---|
31 | alone.</para></warning>
|
---|
32 |
|
---|
33 | <sect3><title>Package information</title>
|
---|
34 | <itemizedlist spacing='compact'>
|
---|
35 | <listitem><para>Download (HTTP): <ulink url="&hdparm-download-http;"/></para></listitem>
|
---|
36 | <listitem><para>Download (FTP): <ulink url="&hdparm-download-ftp;"/></para></listitem>
|
---|
37 | <listitem><para>Download size: &hdparm-size;</para></listitem>
|
---|
38 | <listitem><para>Estimated Disk space required: &hdparm-buildsize;</para></listitem>
|
---|
39 | <listitem><para>Estimated build time: &hdparm-time;</para></listitem></itemizedlist>
|
---|
40 | </sect3>
|
---|
41 |
|
---|
42 | <sect3><title>Additional downloads</title>
|
---|
43 | <itemizedlist spacing='compact'>
|
---|
44 | <listitem><para>Required Patch: <ulink
|
---|
45 | url="&patch-root;/hdparm-&hdparm-version;-glibc_CVS-1.patch"/></para></listitem>
|
---|
46 | </itemizedlist></sect3>
|
---|
47 |
|
---|
48 | </sect2>
|
---|
49 |
|
---|
50 | <sect2>
|
---|
51 | <title>Installation of <application>hdparm</application></title>
|
---|
52 |
|
---|
53 | <para>First apply the required patch:</para>
|
---|
54 |
|
---|
55 | <screen><userinput><command>patch -Np1 -i ../hdparm-&hdparm-version;-glibc_CVS-1.patch</command></userinput></screen>
|
---|
56 |
|
---|
57 | <para>Install <application>hdparm</application> by running the following commands:</para>
|
---|
58 |
|
---|
59 | <screen><userinput><command>make &&
|
---|
60 | make install</command></userinput></screen>
|
---|
61 |
|
---|
62 | <para>Note that by default, <command>hdparm</command> is installed in
|
---|
63 | <filename class="directory">/sbin</filename> as some systems may require it
|
---|
64 | during the boot process before <filename class="directory">/usr</filename>
|
---|
65 | is mounted. If you wish to install <command>hdparm</command> under the
|
---|
66 | <filename class="directory">/usr</filename> hierarchy, then replace the above
|
---|
67 | commands with the following:</para>
|
---|
68 |
|
---|
69 | <screen><userinput><command>make &&
|
---|
70 | make binprefix=/usr install</command></userinput></screen>
|
---|
71 |
|
---|
72 | </sect2>
|
---|
73 |
|
---|
74 | <sect2>
|
---|
75 | <title>Contents</title>
|
---|
76 |
|
---|
77 | <para>The <application>hdparm</application> package contains <command>hdparm</command>.</para>
|
---|
78 |
|
---|
79 | </sect2>
|
---|
80 |
|
---|
81 | <sect2><title>Description</title>
|
---|
82 |
|
---|
83 | <sect3><title>hdparm</title>
|
---|
84 | <para><command>hdparm</command> provides a command-line interface to various hard disk
|
---|
85 | ioctls supported by the stock Linux
|
---|
86 | <acronym>ATA</acronym>/<acronym>IDE</acronym> device driver
|
---|
87 | subsystem.</para></sect3>
|
---|
88 |
|
---|
89 | </sect2>
|
---|
90 |
|
---|
91 | </sect1>
|
---|
92 |
|
---|