Introduction to jfsutils

The jfsutils package contains administration and debugging tools for the jfs file system.

This package is known to build and work properly using an LFS-7.7 systemd platform.

Package Information

User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/jfs

Kernel Configuration

Enable the following option in the kernel configuration and recompile the kernel:

File systems  --->
  <*/M> JFS filesystem support [CONFIG_JFS_FS]

Installation of jfsutils

Install jfsutils by running the following commands:

sed "s@<unistd.h>@&\n#include <sys/types.h>@g" -i fscklog/extract.c &&
./configure &&

This package does not come with a test suite.

Now, as the root user:

make install

Command Explanations

sed "s@<unistd.h>@&\n#include <sys/types.h>@g" -i fscklog/extract.c: Fixes building with Glibc 2.17.


Installed Programs: fsck.jfs, jfs_debugfs, jfs_fsck, jfs_fscklog, jfs_logdump, jfs_mkfs, jfs_tune, mkfs.jfs
Installed Libraries: None
Installed Directories: None

Short Descriptions


is used to replay the JFS transaction log, check a JFS formatted device for errors, and fix any errors found.


is a hard link to fsck.jfs.


constructs an JFS file system.


is a hard link to mkfs.jfs.


is a program which can be used to perform various low-level actions on a JFS formatted device.


extracts a JFS fsck service log into a file and/or formats and displays the extracted file.


dumps the contents of the journal log from the specified JFS formatted device into output file ./jfslog.dmp.


adjusts tunable file system parameters on JFS file systems.

Last updated on 2015-08-01 04:26:22 +0000