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 jfsutils-download-http "http://jfs.sourceforge.net/project/pub/jfsutils-&jfsutils-version;.tar.gz">
|
---|
8 | <!ENTITY jfsutils-download-ftp " ">
|
---|
9 | <!ENTITY jfsutils-md5sum "8809465cd48a202895bc2a12e1923b5d">
|
---|
10 | <!ENTITY jfsutils-size "532 KB">
|
---|
11 | <!ENTITY jfsutils-buildsize "8.9 MB">
|
---|
12 | <!ENTITY jfsutils-time "0.1 SBU">
|
---|
13 | ]>
|
---|
14 |
|
---|
15 | <sect1 id="jfsutils" xreflabel="jfsutils-&jfsutils-version;">
|
---|
16 | <?dbhtml filename="jfsutils.html"?>
|
---|
17 |
|
---|
18 | <sect1info>
|
---|
19 | <othername>$LastChangedBy$</othername>
|
---|
20 | <date>$Date$</date>
|
---|
21 | </sect1info>
|
---|
22 |
|
---|
23 | <title>jfsutils-&jfsutils-version;</title>
|
---|
24 |
|
---|
25 | <indexterm zone="jfsutils">
|
---|
26 | <primary sortas="a-jfsutils">jfsutils</primary>
|
---|
27 | </indexterm>
|
---|
28 |
|
---|
29 | <sect2 role="package">
|
---|
30 | <title>Introduction to jfsutils</title>
|
---|
31 |
|
---|
32 | <para>The <application>jfsutils</application> package contains administration
|
---|
33 | and debugging tools for the jfs file system.</para>
|
---|
34 |
|
---|
35 | &lfs83_checked;
|
---|
36 |
|
---|
37 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
38 | <itemizedlist spacing="compact">
|
---|
39 | <listitem>
|
---|
40 | <para>Download (HTTP): <ulink url="&jfsutils-download-http;"/></para>
|
---|
41 | </listitem>
|
---|
42 | <listitem>
|
---|
43 | <para>Download (FTP): <ulink url="&jfsutils-download-ftp;"/></para>
|
---|
44 | </listitem>
|
---|
45 | <listitem>
|
---|
46 | <para>Download MD5 sum: &jfsutils-md5sum;</para>
|
---|
47 | </listitem>
|
---|
48 | <listitem>
|
---|
49 | <para>Download size: &jfsutils-size;</para>
|
---|
50 | </listitem>
|
---|
51 | <listitem>
|
---|
52 | <para>Estimated disk space required: &jfsutils-buildsize;</para>
|
---|
53 | </listitem>
|
---|
54 | <listitem>
|
---|
55 | <para>Estimated build time: &jfsutils-time;</para>
|
---|
56 | </listitem>
|
---|
57 | </itemizedlist>
|
---|
58 |
|
---|
59 | <para condition="html" role="usernotes">User Notes:
|
---|
60 | <ulink url="&blfs-wiki;/jfs"/></para>
|
---|
61 |
|
---|
62 | </sect2>
|
---|
63 |
|
---|
64 | <sect2 role="kernel" id='jfsutils-kernel'>
|
---|
65 | <title>Kernel Configuration</title>
|
---|
66 |
|
---|
67 | <para>Enable the following option in the kernel configuration
|
---|
68 | and recompile the kernel:</para>
|
---|
69 |
|
---|
70 | <screen><literal>File systems --->
|
---|
71 | <*/M> JFS filesystem support [CONFIG_JFS_FS]</literal></screen>
|
---|
72 |
|
---|
73 | <indexterm zone="jfsutils jfsutils-kernel">
|
---|
74 | <primary sortas="d-jfsutils">JFS Utilities</primary>
|
---|
75 | </indexterm>
|
---|
76 |
|
---|
77 | </sect2>
|
---|
78 |
|
---|
79 | <sect2 role="installation">
|
---|
80 | <title>Installation of jfsutils</title>
|
---|
81 |
|
---|
82 | <para>Install <application>jfsutils</application> by running the following
|
---|
83 | commands:</para>
|
---|
84 |
|
---|
85 | <screen><userinput>sed -i "/unistd.h/a#include <sys/types.h>" fscklog/extract.c &&
|
---|
86 | sed -i "/ioctl.h/a#include <sys/sysmacros.h>" libfs/devices.c &&
|
---|
87 |
|
---|
88 | ./configure &&
|
---|
89 | make</userinput></screen>
|
---|
90 |
|
---|
91 | <para>This package does not come with a test suite.</para>
|
---|
92 |
|
---|
93 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
94 |
|
---|
95 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
96 |
|
---|
97 | </sect2>
|
---|
98 |
|
---|
99 | <sect2 role="commands">
|
---|
100 | <title>Command Explanations</title>
|
---|
101 |
|
---|
102 | <para>
|
---|
103 | <command>sed ...</command>: Fixes building with glibc 2.28.
|
---|
104 | </para>
|
---|
105 |
|
---|
106 | </sect2>
|
---|
107 |
|
---|
108 | <sect2 role="content">
|
---|
109 | <title>Contents</title>
|
---|
110 |
|
---|
111 | <segmentedlist>
|
---|
112 | <segtitle>Installed Programs</segtitle>
|
---|
113 | <segtitle>Installed Libraries</segtitle>
|
---|
114 | <segtitle>Installed Directories</segtitle>
|
---|
115 |
|
---|
116 | <seglistitem>
|
---|
117 | <seg>fsck.jfs, jfs_debugfs, jfs_fsck, jfs_fscklog,
|
---|
118 | jfs_logdump, jfs_mkfs, jfs_tune, mkfs.jfs </seg>
|
---|
119 | <seg>None</seg>
|
---|
120 | <seg>None</seg>
|
---|
121 | </seglistitem>
|
---|
122 | </segmentedlist>
|
---|
123 |
|
---|
124 | <variablelist>
|
---|
125 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
126 | <?dbfo list-presentation="list"?>
|
---|
127 | <?dbhtml list-presentation="table"?>
|
---|
128 |
|
---|
129 | <varlistentry id="fsck.jfs">
|
---|
130 | <term><command>fsck.jfs</command></term>
|
---|
131 | <listitem>
|
---|
132 | <para>is used to replay the JFS transaction log, check a
|
---|
133 | JFS formatted device for errors, and fix any errors found.</para>
|
---|
134 | <indexterm zone="jfsutils fsck.jfs">
|
---|
135 | <primary sortas="b-fsck.jfs">fsck.jfs</primary>
|
---|
136 | </indexterm>
|
---|
137 | </listitem>
|
---|
138 | </varlistentry>
|
---|
139 |
|
---|
140 | <varlistentry id="jfs_fsck">
|
---|
141 | <term><command>jfs_fsck</command></term>
|
---|
142 | <listitem>
|
---|
143 | <para>is a hard link to fsck.jfs.</para>
|
---|
144 | <indexterm zone="jfsutils jfs_fsck">
|
---|
145 | <primary sortas="b-jfs_fsck">jfs_fsck</primary>
|
---|
146 | </indexterm>
|
---|
147 | </listitem>
|
---|
148 | </varlistentry>
|
---|
149 |
|
---|
150 | <varlistentry id="mkfs.jfs">
|
---|
151 | <term><command>mkfs.jfs</command></term>
|
---|
152 | <listitem>
|
---|
153 | <para>constructs an JFS file system.</para>
|
---|
154 | <indexterm zone="jfsutils mkfs.jfs">
|
---|
155 | <primary sortas="b-mkfs.jfs">mkfs.jfs</primary>
|
---|
156 | </indexterm>
|
---|
157 | </listitem>
|
---|
158 | </varlistentry>
|
---|
159 |
|
---|
160 | <varlistentry id="jfs_mkfs">
|
---|
161 | <term><command>jfs_mkfs</command></term>
|
---|
162 | <listitem>
|
---|
163 | <para>is a hard link to mkfs.jfs.</para>
|
---|
164 | <indexterm zone="jfsutils jfs_mkfs">
|
---|
165 | <primary sortas="b-jfs_mkfs">jfs_mkfs</primary>
|
---|
166 | </indexterm>
|
---|
167 | </listitem>
|
---|
168 | </varlistentry>
|
---|
169 |
|
---|
170 | <varlistentry id="jfs_debugfs">
|
---|
171 | <term><command>jfs_debugfs</command></term>
|
---|
172 | <listitem>
|
---|
173 | <para>is a program which can be used to perform various low-level
|
---|
174 | actions on a JFS formatted device.</para>
|
---|
175 | <indexterm zone="jfsutils jfs_debugfs">
|
---|
176 | <primary sortas="b-jfs_debugfs">jfs_debugfs</primary>
|
---|
177 | </indexterm>
|
---|
178 | </listitem>
|
---|
179 | </varlistentry>
|
---|
180 |
|
---|
181 | <varlistentry id="jfs_fscklog">
|
---|
182 | <term><command>jfs_fscklog</command></term>
|
---|
183 | <listitem>
|
---|
184 | <para>extracts a JFS fsck service log into a file and/or formats and
|
---|
185 | displays the extracted file.</para>
|
---|
186 | <indexterm zone="jfsutils jfs_fscklog">
|
---|
187 | <primary sortas="b-jfs_fscklog">jfs_fscklog</primary>
|
---|
188 | </indexterm>
|
---|
189 | </listitem>
|
---|
190 | </varlistentry>
|
---|
191 |
|
---|
192 | <varlistentry id="jfs_logdump">
|
---|
193 | <term><command>jfs_logdump</command></term>
|
---|
194 | <listitem>
|
---|
195 | <para>dumps the contents of the journal log from the specified
|
---|
196 | JFS formatted device into output file ./jfslog.dmp.</para>
|
---|
197 | <indexterm zone="jfsutils jfs_logdump">
|
---|
198 | <primary sortas="b-jfs_logdump">jfs_logdump</primary>
|
---|
199 | </indexterm>
|
---|
200 | </listitem>
|
---|
201 | </varlistentry>
|
---|
202 |
|
---|
203 | <varlistentry id="jfs_tune">
|
---|
204 | <term><command>jfs_tune</command></term>
|
---|
205 | <listitem>
|
---|
206 | <para>adjusts tunable file system parameters on JFS file systems.</para>
|
---|
207 | <indexterm zone="jfsutils jfs_tune">
|
---|
208 | <primary sortas="b-jfs_tune">jfs_tune</primary>
|
---|
209 | </indexterm>
|
---|
210 | </listitem>
|
---|
211 | </varlistentry>
|
---|
212 |
|
---|
213 |
|
---|
214 | </variablelist>
|
---|
215 |
|
---|
216 | </sect2>
|
---|
217 |
|
---|
218 | </sect1>
|
---|