How To Install Mkfs.cramfs?

How To Install Mkfs.cramfs?

mkfs.cramfs

Creates a ROM filesystem inside a partition.

Maintainer: LaMont Jones


Section: utils

Install mkfs.cramfs

  • Debian apt-get install util-linux Click to copy
  • Ubuntu apt-get install util-linux Click to copy
  • Alpine OS apk add util-linux Click to copy
  • Arch Linux pacman -S util-linux Click to copy
  • Kali Linux apt-get install util-linux Click to copy
  • CentOS yum install util-linux Click to copy
  • Fedora dnf install util-linux Click to copy
  • Raspbian apt-get install util-linux Click to copy
  • macOS brew install util-linux Click to copy

Creates a ROM filesystem inside a partition.

How to use mkfs.cramfs?

Below are few example commands for mkfs.cramfs that you can use in the terminal.

Create a ROM filesystem inside partition 1 on device b (`sdb1`):
mkfs.cramfs /dev/sdb1Click to copy
Create a ROM filesystem with a volume-name:
mkfs.cramfs -n volume_name /dev/sdb1Click to copy
Installing mkfs.cramfs command is simple. just copy one of the above commands for your operating system and paste it into terminal. This command is available for Debian, Ubuntu, Alpine, Arch, Kali, CentOS, Fedora, Raspbian and macOS operating systems. Once you run the command it will install the latest version of mkfs.cramfs 2024 package in your OS.