2004-06-13 06:56:28 +08:00
|
|
|
<?xml version="1.0" encoding="ISO-8859-1"?>
|
2007-04-05 03:42:53 +08:00
|
|
|
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
|
|
|
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
2004-06-13 06:56:28 +08:00
|
|
|
<!ENTITY % general-entities SYSTEM "../../general.ent">
|
|
|
|
%general-entities;
|
|
|
|
|
2017-08-16 02:49:48 +08:00
|
|
|
<!ENTITY hdparm-download-http "&sourceforge-dl;/hdparm/hdparm-&hdparm-version;.tar.gz">
|
2007-08-14 07:57:32 +08:00
|
|
|
<!ENTITY hdparm-download-ftp " ">
|
2020-11-23 04:26:39 +08:00
|
|
|
<!ENTITY hdparm-md5sum "25a791d47236c58801f8b27074f3ef93">
|
|
|
|
<!ENTITY hdparm-size "152 KB">
|
2017-05-03 01:45:33 +08:00
|
|
|
<!ENTITY hdparm-buildsize "1.0 MB">
|
2008-12-28 17:10:09 +08:00
|
|
|
<!ENTITY hdparm-time "less than 0.1 SBU">
|
2004-06-13 06:56:28 +08:00
|
|
|
]>
|
|
|
|
|
2012-08-01 07:44:40 +08:00
|
|
|
<sect1 id="hdparm" xreflabel="Hdparm-&hdparm-version;">
|
2005-05-07 17:50:39 +08:00
|
|
|
<?dbhtml filename="hdparm.html"?>
|
|
|
|
|
|
|
|
<sect1info>
|
|
|
|
<date>$Date$</date>
|
|
|
|
</sect1info>
|
|
|
|
|
|
|
|
<title>Hdparm-&hdparm-version;</title>
|
|
|
|
|
|
|
|
<indexterm zone="hdparm">
|
|
|
|
<primary sortas="a-Hdparm">Hdparm</primary>
|
|
|
|
</indexterm>
|
|
|
|
|
|
|
|
<sect2 role="package">
|
|
|
|
<title>Introduction to Hdparm</title>
|
|
|
|
|
2012-08-01 07:44:40 +08:00
|
|
|
<para>
|
2015-07-26 00:05:00 +08:00
|
|
|
The <application>Hdparm</application> package contains a utility that
|
2018-01-10 18:44:47 +08:00
|
|
|
is useful for obtaining information about, and controlling ATA/IDE
|
|
|
|
controllers and hard drives. It allows to
|
2012-08-01 07:44:40 +08:00
|
|
|
increase performance and sometimes to increase stability.
|
|
|
|
</para>
|
2005-05-07 17:50:39 +08:00
|
|
|
|
2021-02-21 03:35:58 +08:00
|
|
|
&lfs101_checked;
|
2011-11-08 06:34:58 +08:00
|
|
|
|
2005-05-07 17:50:39 +08:00
|
|
|
<warning>
|
2012-08-01 07:44:40 +08:00
|
|
|
<para>
|
|
|
|
As well as being useful, incorrect usage of
|
|
|
|
<application>Hdparm</application> can destroy your information and in
|
|
|
|
rare cases, drives. Use with caution and make sure you know what you
|
|
|
|
are doing. If in doubt, it is recommended that you leave the default
|
|
|
|
kernel parameters alone.
|
|
|
|
</para>
|
2005-05-07 17:50:39 +08:00
|
|
|
</warning>
|
|
|
|
|
|
|
|
<bridgehead renderas="sect3">Package Information</bridgehead>
|
|
|
|
<itemizedlist spacing="compact">
|
|
|
|
<listitem>
|
2012-08-01 07:44:40 +08:00
|
|
|
<para>
|
|
|
|
Download (HTTP): <ulink url="&hdparm-download-http;"/>
|
|
|
|
</para>
|
2005-05-07 17:50:39 +08:00
|
|
|
</listitem>
|
|
|
|
<listitem>
|
2012-08-01 07:44:40 +08:00
|
|
|
<para>
|
|
|
|
Download (FTP): <ulink url="&hdparm-download-ftp;"/>
|
|
|
|
</para>
|
2005-05-07 17:50:39 +08:00
|
|
|
</listitem>
|
|
|
|
<listitem>
|
2012-08-01 07:44:40 +08:00
|
|
|
<para>
|
|
|
|
Download MD5 sum: &hdparm-md5sum;
|
|
|
|
</para>
|
2005-05-07 17:50:39 +08:00
|
|
|
</listitem>
|
|
|
|
<listitem>
|
2012-08-01 07:44:40 +08:00
|
|
|
<para>
|
|
|
|
Download size: &hdparm-size;
|
|
|
|
</para>
|
2005-05-07 17:50:39 +08:00
|
|
|
</listitem>
|
|
|
|
<listitem>
|
2012-08-01 07:44:40 +08:00
|
|
|
<para>
|
|
|
|
Estimated disk space required: &hdparm-buildsize;
|
|
|
|
</para>
|
2005-05-07 17:50:39 +08:00
|
|
|
</listitem>
|
|
|
|
<listitem>
|
2012-08-01 07:44:40 +08:00
|
|
|
<para>
|
|
|
|
Estimated build time: &hdparm-time;
|
|
|
|
</para>
|
2005-05-07 17:50:39 +08:00
|
|
|
</listitem>
|
|
|
|
</itemizedlist>
|
|
|
|
|
2006-04-11 02:35:56 +08:00
|
|
|
<para condition="html" role="usernotes">User Notes:
|
2012-08-01 07:44:40 +08:00
|
|
|
<ulink url="&blfs-wiki;/hdparm"/>
|
|
|
|
</para>
|
2005-05-07 17:50:39 +08:00
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2 role="installation">
|
|
|
|
<title>Installation of Hdparm</title>
|
|
|
|
|
2012-08-01 07:44:40 +08:00
|
|
|
<para>
|
|
|
|
Build <application>Hdparm</application> by running the following
|
|
|
|
command:
|
|
|
|
</para>
|
2005-05-07 17:50:39 +08:00
|
|
|
|
|
|
|
<screen><userinput>make</userinput></screen>
|
|
|
|
|
2012-08-01 07:44:40 +08:00
|
|
|
<para>
|
|
|
|
This package does not come with a test suite.
|
|
|
|
</para>
|
2005-06-29 01:27:40 +08:00
|
|
|
|
2012-08-01 07:44:40 +08:00
|
|
|
<para>
|
|
|
|
Now, as the <systemitem class="username">root</systemitem> user:
|
|
|
|
</para>
|
2005-05-07 17:50:39 +08:00
|
|
|
|
|
|
|
<screen role="root"><userinput>make install</userinput></screen>
|
|
|
|
|
2012-10-01 08:34:53 +08:00
|
|
|
<note><para>
|
2012-08-01 07:44:40 +08:00
|
|
|
Note that by default, <command>hdparm</command> is installed in
|
|
|
|
<filename class="directory">/sbin</filename> as some systems may require it
|
|
|
|
during the boot process before <filename class="directory">/usr</filename>
|
|
|
|
is mounted. If you wish to install <command>hdparm</command> under the
|
|
|
|
<filename class="directory">/usr</filename> hierarchy, then replace the above
|
|
|
|
command with the following:
|
|
|
|
</para>
|
2005-05-07 17:50:39 +08:00
|
|
|
|
2019-05-07 18:12:07 +08:00
|
|
|
<screen role="nodump"><userinput>make binprefix=/usr install</userinput></screen></note>
|
2005-05-07 17:50:39 +08:00
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2 role="content">
|
|
|
|
<title>Contents</title>
|
|
|
|
|
|
|
|
<segmentedlist>
|
|
|
|
<segtitle>Installed Program</segtitle>
|
2013-01-26 00:32:25 +08:00
|
|
|
<segtitle>Installed Libraries</segtitle>
|
|
|
|
<segtitle>Installed Directories</segtitle>
|
2005-05-07 17:50:39 +08:00
|
|
|
|
|
|
|
<seglistitem>
|
2012-08-01 07:44:40 +08:00
|
|
|
<seg>
|
|
|
|
hdparm
|
|
|
|
</seg>
|
2013-01-26 00:32:25 +08:00
|
|
|
<seg>
|
|
|
|
None
|
|
|
|
</seg>
|
|
|
|
<seg>
|
|
|
|
None
|
|
|
|
</seg>
|
2005-05-07 17:50:39 +08:00
|
|
|
</seglistitem>
|
|
|
|
</segmentedlist>
|
|
|
|
|
|
|
|
<variablelist>
|
|
|
|
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
|
|
|
<?dbfo list-presentation="list"?>
|
|
|
|
<?dbhtml list-presentation="table"?>
|
|
|
|
|
|
|
|
<varlistentry id="hdparm-prog">
|
|
|
|
<term><command>hdparm</command></term>
|
|
|
|
<listitem>
|
2012-08-01 07:44:40 +08:00
|
|
|
<para>
|
|
|
|
provides a command-line interface to various hard disk ioctls
|
2021-02-19 23:20:16 +08:00
|
|
|
supported by the stock Linux ATA/IDE device driver subsystem
|
2012-08-01 07:44:40 +08:00
|
|
|
</para>
|
2005-05-07 17:50:39 +08:00
|
|
|
<indexterm zone="hdparm hdparm-prog">
|
|
|
|
<primary sortas="b-hdparm">hdparm</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
</variablelist>
|
|
|
|
|
|
|
|
</sect2>
|
2002-07-08 04:28:42 +08:00
|
|
|
|
|
|
|
</sect1>
|