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