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