How To Install chunkfs on Rocky Linux 8

In this tutorial we learn how to install chunkfs on Rocky Linux 8. chunkfs is FUSE based filesystem that allows you to mount an arbitrary file or block device

Introduction

In this tutorial we learn how to install chunkfs on Rocky Linux 8.

What is chunkfs

ChunkFS is a FUSE based filesystem that allows you to mount an arbitrary file or block device as a directory tree of files that each represent a chunk of user-specified size of the mounted file. The chunk size is global per mount, but at mount time any value can be specified. (If the file size isn’t a multiple of the specified chunk size, the last file in the tree simply will be smaller than the chunk size.) Only read access is supported at the moment. UnChunkFS is the inversion of ChunkFS—it allows you to mount a ChunkFS tree (or a copy of it, of course), and gives you a single file named image that has the same contents as the file or device you created the tree from by mounting it as a ChunkFS.

We can use yum or dnf to install chunkfs on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install chunkfs.

Install chunkfs on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install chunkfs using dnf by running the following command:

sudo dnf -y install chunkfs

Install chunkfs on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install chunkfs using yum by running the following command:

sudo yum -y install chunkfs

How To Uninstall chunkfs on Rocky Linux 8

To uninstall only the chunkfs package we can use the following command:

sudo dnf remove chunkfs

chunkfs Package Contents on Rocky Linux 8

/usr/bin/chunkfs
/usr/bin/unchunkfs
/usr/lib/.build-id
/usr/lib/.build-id/4a
/usr/lib/.build-id/4a/2e9ec23797959f6f93a4f8e35728e3a66e5d37
/usr/lib/.build-id/6b
/usr/lib/.build-id/6b/f979926774d4f204cab3dd52019fb142518cbf
/usr/share/doc/chunkfs
/usr/share/doc/chunkfs/README
/usr/share/doc/chunkfs/examples
/usr/share/doc/chunkfs/examples/writeoverlay.sh
/usr/share/licenses/chunkfs
/usr/share/licenses/chunkfs/COPYING
/usr/share/man/man1/chunkfs.1.gz
/usr/share/man/man1/unchunkfs.1.gz

References

Summary

In this tutorial we learn how to install chunkfs on Rocky Linux 8 using yum and dnf.