2012-01-21 03:25:30 +08:00
|
|
|
<?xml version="1.0" encoding="ISO-8859-1"?>
|
|
|
|
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
|
|
|
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
|
|
|
<!ENTITY % general-entities SYSTEM "../../general.ent">
|
|
|
|
%general-entities;
|
|
|
|
|
2012-08-29 04:24:52 +08:00
|
|
|
<!ENTITY jfsutils-download-http "http://jfs.sourceforge.net/project/pub/jfsutils-&jfsutils-version;.tar.gz">
|
2012-01-21 03:25:30 +08:00
|
|
|
<!ENTITY jfsutils-download-ftp " ">
|
|
|
|
<!ENTITY jfsutils-md5sum "8809465cd48a202895bc2a12e1923b5d">
|
|
|
|
<!ENTITY jfsutils-size "532 KB">
|
|
|
|
<!ENTITY jfsutils-buildsize "8.9 MB">
|
|
|
|
<!ENTITY jfsutils-time "0.1 SBU">
|
|
|
|
]>
|
|
|
|
|
2012-10-18 14:26:27 +08:00
|
|
|
<sect1 id="jfsutils" xreflabel="jfsutils-&jfsutils-version;">
|
2012-01-21 03:25:30 +08:00
|
|
|
<?dbhtml filename="jfsutils.html"?>
|
|
|
|
|
|
|
|
<sect1info>
|
|
|
|
<othername>$LastChangedBy$</othername>
|
|
|
|
<date>$Date$</date>
|
|
|
|
</sect1info>
|
|
|
|
|
|
|
|
<title>jfsutils-&jfsutils-version;</title>
|
|
|
|
|
|
|
|
<indexterm zone="jfsutils">
|
|
|
|
<primary sortas="a-jfsutils">jfsutils</primary>
|
|
|
|
</indexterm>
|
|
|
|
|
|
|
|
<sect2 role="package">
|
|
|
|
<title>Introduction to jfsutils</title>
|
|
|
|
|
|
|
|
<para>The <application>jfsutils</application> package contains administration
|
|
|
|
and debugging tools for the jfs file system.</para>
|
|
|
|
|
2019-08-23 08:29:06 +08:00
|
|
|
&lfs90_checked;
|
2012-01-21 03:25:30 +08:00
|
|
|
|
|
|
|
<bridgehead renderas="sect3">Package Information</bridgehead>
|
|
|
|
<itemizedlist spacing="compact">
|
|
|
|
<listitem>
|
|
|
|
<para>Download (HTTP): <ulink url="&jfsutils-download-http;"/></para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>Download (FTP): <ulink url="&jfsutils-download-ftp;"/></para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>Download MD5 sum: &jfsutils-md5sum;</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>Download size: &jfsutils-size;</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>Estimated disk space required: &jfsutils-buildsize;</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>Estimated build time: &jfsutils-time;</para>
|
|
|
|
</listitem>
|
|
|
|
</itemizedlist>
|
|
|
|
|
|
|
|
<para condition="html" role="usernotes">User Notes:
|
|
|
|
<ulink url="&blfs-wiki;/jfs"/></para>
|
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|
2012-01-30 12:00:39 +08:00
|
|
|
<sect2 role="kernel" id='jfsutils-kernel'>
|
|
|
|
<title>Kernel Configuration</title>
|
|
|
|
|
|
|
|
<para>Enable the following option in the kernel configuration
|
|
|
|
and recompile the kernel:</para>
|
|
|
|
|
2014-12-01 02:10:25 +08:00
|
|
|
<screen><literal>File systems --->
|
|
|
|
<*/M> JFS filesystem support [CONFIG_JFS_FS]</literal></screen>
|
2012-01-30 12:00:39 +08:00
|
|
|
|
|
|
|
<indexterm zone="jfsutils jfsutils-kernel">
|
|
|
|
<primary sortas="d-jfsutils">JFS Utilities</primary>
|
|
|
|
</indexterm>
|
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|
2012-01-21 03:25:30 +08:00
|
|
|
<sect2 role="installation">
|
|
|
|
<title>Installation of jfsutils</title>
|
|
|
|
|
|
|
|
<para>Install <application>jfsutils</application> by running the following
|
|
|
|
commands:</para>
|
|
|
|
|
2018-08-16 11:14:45 +08:00
|
|
|
<screen><userinput>sed -i "/unistd.h/a#include <sys/types.h>" fscklog/extract.c &&
|
|
|
|
sed -i "/ioctl.h/a#include <sys/sysmacros.h>" libfs/devices.c &&
|
|
|
|
|
2013-03-13 03:22:03 +08:00
|
|
|
./configure &&
|
2012-01-21 03:25:30 +08:00
|
|
|
make</userinput></screen>
|
|
|
|
|
|
|
|
<para>This package does not come with a test suite.</para>
|
|
|
|
|
|
|
|
<para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
|
|
|
|
|
|
|
<screen role="root"><userinput>make install</userinput></screen>
|
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|
2013-03-13 03:22:03 +08:00
|
|
|
<sect2 role="commands">
|
|
|
|
<title>Command Explanations</title>
|
|
|
|
|
|
|
|
<para>
|
2018-08-16 11:14:45 +08:00
|
|
|
<command>sed ...</command>: Fixes building with glibc 2.28.
|
2013-03-13 03:22:03 +08:00
|
|
|
</para>
|
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|
2012-01-21 03:25:30 +08:00
|
|
|
<sect2 role="content">
|
|
|
|
<title>Contents</title>
|
|
|
|
|
|
|
|
<segmentedlist>
|
|
|
|
<segtitle>Installed Programs</segtitle>
|
|
|
|
<segtitle>Installed Libraries</segtitle>
|
|
|
|
<segtitle>Installed Directories</segtitle>
|
|
|
|
|
|
|
|
<seglistitem>
|
2013-02-12 02:51:17 +08:00
|
|
|
<seg>fsck.jfs, jfs_debugfs, jfs_fsck, jfs_fscklog,
|
2012-01-21 03:25:30 +08:00
|
|
|
jfs_logdump, jfs_mkfs, jfs_tune, mkfs.jfs </seg>
|
|
|
|
<seg>None</seg>
|
|
|
|
<seg>None</seg>
|
|
|
|
</seglistitem>
|
|
|
|
</segmentedlist>
|
|
|
|
|
|
|
|
<variablelist>
|
|
|
|
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
|
|
|
<?dbfo list-presentation="list"?>
|
|
|
|
<?dbhtml list-presentation="table"?>
|
|
|
|
|
|
|
|
<varlistentry id="fsck.jfs">
|
|
|
|
<term><command>fsck.jfs</command></term>
|
|
|
|
<listitem>
|
2013-02-12 02:51:17 +08:00
|
|
|
<para>is used to replay the JFS transaction log, check a
|
2012-01-21 03:25:30 +08:00
|
|
|
JFS formatted device for errors, and fix any errors found.</para>
|
|
|
|
<indexterm zone="jfsutils fsck.jfs">
|
|
|
|
<primary sortas="b-fsck.jfs">fsck.jfs</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry id="jfs_fsck">
|
|
|
|
<term><command>jfs_fsck</command></term>
|
|
|
|
<listitem>
|
|
|
|
<para>is a hard link to fsck.jfs.</para>
|
|
|
|
<indexterm zone="jfsutils jfs_fsck">
|
|
|
|
<primary sortas="b-jfs_fsck">jfs_fsck</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry id="mkfs.jfs">
|
|
|
|
<term><command>mkfs.jfs</command></term>
|
|
|
|
<listitem>
|
|
|
|
<para>constructs an JFS file system.</para>
|
|
|
|
<indexterm zone="jfsutils mkfs.jfs">
|
|
|
|
<primary sortas="b-mkfs.jfs">mkfs.jfs</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry id="jfs_mkfs">
|
|
|
|
<term><command>jfs_mkfs</command></term>
|
|
|
|
<listitem>
|
|
|
|
<para>is a hard link to mkfs.jfs.</para>
|
|
|
|
<indexterm zone="jfsutils jfs_mkfs">
|
|
|
|
<primary sortas="b-jfs_mkfs">jfs_mkfs</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry id="jfs_debugfs">
|
|
|
|
<term><command>jfs_debugfs</command></term>
|
|
|
|
<listitem>
|
2013-02-12 02:51:17 +08:00
|
|
|
<para>is a program which can be used to perform various low-level
|
2012-01-21 03:25:30 +08:00
|
|
|
actions on a JFS formatted device.</para>
|
|
|
|
<indexterm zone="jfsutils jfs_debugfs">
|
|
|
|
<primary sortas="b-jfs_debugfs">jfs_debugfs</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry id="jfs_fscklog">
|
|
|
|
<term><command>jfs_fscklog</command></term>
|
|
|
|
<listitem>
|
2013-02-12 02:51:17 +08:00
|
|
|
<para>extracts a JFS fsck service log into a file and/or formats and
|
2012-01-21 03:25:30 +08:00
|
|
|
displays the extracted file.</para>
|
|
|
|
<indexterm zone="jfsutils jfs_fscklog">
|
|
|
|
<primary sortas="b-jfs_fscklog">jfs_fscklog</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry id="jfs_logdump">
|
|
|
|
<term><command>jfs_logdump</command></term>
|
|
|
|
<listitem>
|
2013-02-12 02:51:17 +08:00
|
|
|
<para>dumps the contents of the journal log from the specified
|
2012-01-21 03:25:30 +08:00
|
|
|
JFS formatted device into output file ./jfslog.dmp.</para>
|
|
|
|
<indexterm zone="jfsutils jfs_logdump">
|
|
|
|
<primary sortas="b-jfs_logdump">jfs_logdump</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry id="jfs_tune">
|
|
|
|
<term><command>jfs_tune</command></term>
|
|
|
|
<listitem>
|
|
|
|
<para>adjusts tunable file system parameters on JFS file systems.</para>
|
|
|
|
<indexterm zone="jfsutils jfs_tune">
|
|
|
|
<primary sortas="b-jfs_tune">jfs_tune</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
|
|
|
|
</variablelist>
|
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
</sect1>
|