jfsutils-1.1.15

#### Beyond Linux® From Scratch (systemd Edition) - Version r13.0-1303

### Chapter 5. File Systems and Disk Management

- Prev

  Fuse-3.18.2

- Next

  LVM2-2.03.42

- Up
- Home

# jfsutils-1.1.15

## Introduction to jfsutils

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

### Note

Development versions of BLFS may not build or run some packages properly if LFS or dependencies have been updated since the most recent stable versions of the books.

### Package Information

- Download (HTTP): https://jfs.sourceforge.net/project/pub/jfsutils-1.1.15.tar.gz

- Download MD5 sum: 8809465cd48a202895bc2a12e1923b5d

- Download size: 532 KB

- Estimated disk space required: 8.9 MB

- Estimated build time: 0.1 SBU

### Additional Downloads

- Required patch to fix issues exposed by GCC 10 and later: https://www.linuxfromscratch.org/patches/blfs/svn/jfsutils-1.1.15-gcc10_fix-1.patch

## Kernel Configuration

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

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

## Installation of jfsutils

First, fix some issues exposed by GCC 10 and later:

    patch -Np1 -i ../jfsutils-1.1.15-gcc10_fix-1.patch

Install jfsutils by running the following commands:

    sed -i "/unistd.h/a#include <sys/types.h>"    fscklog/extract.c &&
    sed -i "/ioctl.h/a#include <sys/sysmacros.h>" libfs/devices.c   &&

    ./configure &&
    make

This package does not come with a test suite.

Now, as the `root` user:

    make install

## Command Explanations

sed ...: Fixes building with glibc 2.28.

## Contents

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

fsck.jfs | is used to replay the JFS transaction log, check a JFS formatted device for errors, and fix any errors found
jfs_fsck | is a hard link to fsck.jfs
mkfs.jfs | constructs an JFS file system
jfs_mkfs | is a hard link to mkfs.jfs
jfs_debugfs | is a program which can be used to perform various low-level actions on a JFS formatted device
jfs_fscklog | extracts a JFS fsck service log into a file and/or formats and displays the extracted file
jfs_logdump | dumps the contents of the journal log from the specified JFS formatted device into output file ./jfslog.dmp
jfs_tune | adjusts tunable file system parameters on JFS file systems

- Prev

  Fuse-3.18.2

- Next

  LVM2-2.03.42

- Up
- Home