1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
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 libatasmart-download-http "https://0pointer.de/public/libatasmart-&libatasmart-version;.tar.xz">
|
---|
8 | <!ENTITY libatasmart-download-ftp " ">
|
---|
9 | <!ENTITY libatasmart-md5sum "53afe2b155c36f658e121fe6def33e77">
|
---|
10 | <!ENTITY libatasmart-size "248 KB">
|
---|
11 | <!ENTITY libatasmart-buildsize "3 MB">
|
---|
12 | <!ENTITY libatasmart-time "less than 0.1 SBU">
|
---|
13 | ]>
|
---|
14 |
|
---|
15 | <sect1 id="libatasmart" xreflabel="libatasmart-&libatasmart-version;">
|
---|
16 | <?dbhtml filename="libatasmart.html"?>
|
---|
17 |
|
---|
18 |
|
---|
19 | <title>libatasmart-&libatasmart-version;</title>
|
---|
20 |
|
---|
21 | <indexterm zone="libatasmart">
|
---|
22 | <primary sortas="a-libatasmart">libatasmart</primary>
|
---|
23 | </indexterm>
|
---|
24 |
|
---|
25 | <sect2 role="package">
|
---|
26 | <title>Introduction to libatasmart</title>
|
---|
27 |
|
---|
28 | <para>
|
---|
29 | The <application>libatasmart</application> package is a disk reporting
|
---|
30 | library. It only supports a subset of the ATA S.M.A.R.T. functionality.
|
---|
31 | </para>
|
---|
32 |
|
---|
33 | &lfs121_checked;
|
---|
34 |
|
---|
35 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
36 | <itemizedlist spacing="compact">
|
---|
37 | <listitem>
|
---|
38 | <para>
|
---|
39 | Download (HTTP): <ulink url="&libatasmart-download-http;"/>
|
---|
40 | </para>
|
---|
41 | </listitem>
|
---|
42 | <listitem>
|
---|
43 | <para>
|
---|
44 | Download (FTP): <ulink url="&libatasmart-download-ftp;"/>
|
---|
45 | </para>
|
---|
46 | </listitem>
|
---|
47 | <listitem>
|
---|
48 | <para>
|
---|
49 | Download MD5 sum: &libatasmart-md5sum;
|
---|
50 | </para>
|
---|
51 | </listitem>
|
---|
52 | <listitem>
|
---|
53 | <para>
|
---|
54 | Download size: &libatasmart-size;
|
---|
55 | </para>
|
---|
56 | </listitem>
|
---|
57 | <listitem>
|
---|
58 | <para>
|
---|
59 | Estimated disk space required: &libatasmart-buildsize;
|
---|
60 | </para>
|
---|
61 | </listitem>
|
---|
62 | <listitem>
|
---|
63 | <para>
|
---|
64 | Estimated build time: &libatasmart-time;
|
---|
65 | </para>
|
---|
66 | </listitem>
|
---|
67 | </itemizedlist>
|
---|
68 |
|
---|
69 | <para condition="html" role="usernotes">Editor Notes:
|
---|
70 | <ulink url="&blfs-wiki;/libatasmart"/>
|
---|
71 | </para>
|
---|
72 | </sect2>
|
---|
73 |
|
---|
74 | <sect2 role="installation">
|
---|
75 | <title>Installation of libatasmart</title>
|
---|
76 |
|
---|
77 | <para>
|
---|
78 | Install <application>libatasmart</application> by running the following
|
---|
79 | commands:
|
---|
80 | </para>
|
---|
81 |
|
---|
82 | <screen><userinput>./configure --prefix=/usr --disable-static &&
|
---|
83 | make</userinput></screen>
|
---|
84 |
|
---|
85 | <para>
|
---|
86 | This package does not come with a test suite.
|
---|
87 | </para>
|
---|
88 |
|
---|
89 | <para>
|
---|
90 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
91 | </para>
|
---|
92 |
|
---|
93 | <screen role="root"><userinput>make docdir=/usr/share/doc/libatasmart-&libatasmart-version; install</userinput></screen>
|
---|
94 |
|
---|
95 | </sect2>
|
---|
96 |
|
---|
97 | <sect2 role="commands">
|
---|
98 | <title>Command Explanations</title>
|
---|
99 |
|
---|
100 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
101 | href="../../xincludes/static-libraries.xml"/>
|
---|
102 |
|
---|
103 | </sect2>
|
---|
104 |
|
---|
105 | <sect2 role="content">
|
---|
106 | <title>Contents</title>
|
---|
107 |
|
---|
108 | <segmentedlist>
|
---|
109 | <segtitle>Installed Programs</segtitle>
|
---|
110 | <segtitle>Installed Library</segtitle>
|
---|
111 | <segtitle>Installed Directory</segtitle>
|
---|
112 |
|
---|
113 | <seglistitem>
|
---|
114 | <seg>
|
---|
115 | skdump and sktest
|
---|
116 | </seg>
|
---|
117 | <seg>
|
---|
118 | libatasmart.so
|
---|
119 | </seg>
|
---|
120 | <seg>
|
---|
121 | /usr/share/doc/libatasmart-&libatasmart-version;
|
---|
122 | </seg>
|
---|
123 | </seglistitem>
|
---|
124 | </segmentedlist>
|
---|
125 |
|
---|
126 | <variablelist>
|
---|
127 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
128 | <?dbfo list-presentation="list"?>
|
---|
129 | <?dbhtml list-presentation="table"?>
|
---|
130 |
|
---|
131 | <varlistentry id="skdump">
|
---|
132 | <term><command>skdump</command></term>
|
---|
133 | <listitem>
|
---|
134 | <para>
|
---|
135 | is a utility that reports on the status of the disk
|
---|
136 | </para>
|
---|
137 | <indexterm zone="libatasmart skdump">
|
---|
138 | <primary sortas="b-skdump">skdump</primary>
|
---|
139 | </indexterm>
|
---|
140 | </listitem>
|
---|
141 | </varlistentry>
|
---|
142 |
|
---|
143 | <varlistentry id="sktest">
|
---|
144 | <term><command>sktest</command></term>
|
---|
145 | <listitem>
|
---|
146 | <para>
|
---|
147 | is a utility to issue disks tests
|
---|
148 | </para>
|
---|
149 | <indexterm zone="libatasmart sktest">
|
---|
150 | <primary sortas="b-sktest">sktest</primary>
|
---|
151 | </indexterm>
|
---|
152 | </listitem>
|
---|
153 | </varlistentry>
|
---|
154 |
|
---|
155 | <varlistentry id="libatasmart-lib">
|
---|
156 | <term><filename class="libraryfile">libatasmart.so</filename></term>
|
---|
157 | <listitem>
|
---|
158 | <para>
|
---|
159 | contains the ATA S.M.A.R.T API functions
|
---|
160 | </para>
|
---|
161 | <indexterm zone="libatasmart libatasmart-lib">
|
---|
162 | <primary sortas="c-libatasmart">libatasmart.so</primary>
|
---|
163 | </indexterm>
|
---|
164 | </listitem>
|
---|
165 | </varlistentry>
|
---|
166 |
|
---|
167 | </variablelist>
|
---|
168 |
|
---|
169 | </sect2>
|
---|
170 |
|
---|
171 | </sect1>
|
---|