1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
5 | %general-entities;
|
---|
6 |
|
---|
7 | <!ENTITY hdparm-download-http "&sourceforge-dl;/hdparm/hdparm-&hdparm-version;.tar.gz">
|
---|
8 | <!ENTITY hdparm-download-ftp " ">
|
---|
9 | <!ENTITY hdparm-md5sum "4652c49cf096a64683c05f54b4fa4679">
|
---|
10 | <!ENTITY hdparm-size "136 KB">
|
---|
11 | <!ENTITY hdparm-buildsize "1.0 MB">
|
---|
12 | <!ENTITY hdparm-time "less than 0.1 SBU">
|
---|
13 | ]>
|
---|
14 |
|
---|
15 | <sect1 id="hdparm" xreflabel="Hdparm-&hdparm-version;">
|
---|
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 |
|
---|
32 | <para>
|
---|
33 | The <application>Hdparm</application> package contains a utility that
|
---|
34 | is useful for obtaining information about, and controlling ATA/IDE
|
---|
35 | controllers and hard drives. It allows to
|
---|
36 | increase performance and sometimes to increase stability.
|
---|
37 | </para>
|
---|
38 |
|
---|
39 | &lfs83_checked;
|
---|
40 |
|
---|
41 | <warning>
|
---|
42 | <para>
|
---|
43 | As well as being useful, incorrect usage of
|
---|
44 | <application>Hdparm</application> can destroy your information and in
|
---|
45 | rare cases, drives. Use with caution and make sure you know what you
|
---|
46 | are doing. If in doubt, it is recommended that you leave the default
|
---|
47 | kernel parameters alone.
|
---|
48 | </para>
|
---|
49 | </warning>
|
---|
50 |
|
---|
51 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
52 | <itemizedlist spacing="compact">
|
---|
53 | <listitem>
|
---|
54 | <para>
|
---|
55 | Download (HTTP): <ulink url="&hdparm-download-http;"/>
|
---|
56 | </para>
|
---|
57 | </listitem>
|
---|
58 | <listitem>
|
---|
59 | <para>
|
---|
60 | Download (FTP): <ulink url="&hdparm-download-ftp;"/>
|
---|
61 | </para>
|
---|
62 | </listitem>
|
---|
63 | <listitem>
|
---|
64 | <para>
|
---|
65 | Download MD5 sum: &hdparm-md5sum;
|
---|
66 | </para>
|
---|
67 | </listitem>
|
---|
68 | <listitem>
|
---|
69 | <para>
|
---|
70 | Download size: &hdparm-size;
|
---|
71 | </para>
|
---|
72 | </listitem>
|
---|
73 | <listitem>
|
---|
74 | <para>
|
---|
75 | Estimated disk space required: &hdparm-buildsize;
|
---|
76 | </para>
|
---|
77 | </listitem>
|
---|
78 | <listitem>
|
---|
79 | <para>
|
---|
80 | Estimated build time: &hdparm-time;
|
---|
81 | </para>
|
---|
82 | </listitem>
|
---|
83 | </itemizedlist>
|
---|
84 |
|
---|
85 | <para condition="html" role="usernotes">User Notes:
|
---|
86 | <ulink url="&blfs-wiki;/hdparm"/>
|
---|
87 | </para>
|
---|
88 | </sect2>
|
---|
89 |
|
---|
90 | <sect2 role="installation">
|
---|
91 | <title>Installation of Hdparm</title>
|
---|
92 |
|
---|
93 | <para>
|
---|
94 | Build <application>Hdparm</application> by running the following
|
---|
95 | command:
|
---|
96 | </para>
|
---|
97 |
|
---|
98 | <screen><userinput>make</userinput></screen>
|
---|
99 |
|
---|
100 | <para>
|
---|
101 | This package does not come with a test suite.
|
---|
102 | </para>
|
---|
103 |
|
---|
104 | <para>
|
---|
105 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
106 | </para>
|
---|
107 |
|
---|
108 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
109 |
|
---|
110 | <note><para>
|
---|
111 | Note that by default, <command>hdparm</command> is installed in
|
---|
112 | <filename class="directory">/sbin</filename> as some systems may require it
|
---|
113 | during the boot process before <filename class="directory">/usr</filename>
|
---|
114 | is mounted. If you wish to install <command>hdparm</command> under the
|
---|
115 | <filename class="directory">/usr</filename> hierarchy, then replace the above
|
---|
116 | command with the following:
|
---|
117 | </para>
|
---|
118 |
|
---|
119 | <screen role="root"><userinput>make binprefix=/usr install</userinput></screen></note>
|
---|
120 |
|
---|
121 | </sect2>
|
---|
122 |
|
---|
123 | <sect2 role="content">
|
---|
124 | <title>Contents</title>
|
---|
125 |
|
---|
126 | <segmentedlist>
|
---|
127 | <segtitle>Installed Program</segtitle>
|
---|
128 | <segtitle>Installed Libraries</segtitle>
|
---|
129 | <segtitle>Installed Directories</segtitle>
|
---|
130 |
|
---|
131 | <seglistitem>
|
---|
132 | <seg>
|
---|
133 | hdparm
|
---|
134 | </seg>
|
---|
135 | <seg>
|
---|
136 | None
|
---|
137 | </seg>
|
---|
138 | <seg>
|
---|
139 | None
|
---|
140 | </seg>
|
---|
141 | </seglistitem>
|
---|
142 | </segmentedlist>
|
---|
143 |
|
---|
144 | <variablelist>
|
---|
145 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
146 | <?dbfo list-presentation="list"?>
|
---|
147 | <?dbhtml list-presentation="table"?>
|
---|
148 |
|
---|
149 | <varlistentry id="hdparm-prog">
|
---|
150 | <term><command>hdparm</command></term>
|
---|
151 | <listitem>
|
---|
152 | <para>
|
---|
153 | provides a command-line interface to various hard disk ioctls
|
---|
154 | supported by the stock Linux ATA/IDE device driver subsystem.
|
---|
155 | </para>
|
---|
156 | <indexterm zone="hdparm hdparm-prog">
|
---|
157 | <primary sortas="b-hdparm">hdparm</primary>
|
---|
158 | </indexterm>
|
---|
159 | </listitem>
|
---|
160 | </varlistentry>
|
---|
161 |
|
---|
162 | </variablelist>
|
---|
163 |
|
---|
164 | </sect2>
|
---|
165 |
|
---|
166 | </sect1>
|
---|