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