---
name: "fsck.cramfs"
section: "8"
platform: "linux"
package: "util-linux"
version: "2.42.4-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/fsck.cramfs"
---

# fsck.cramfs(8)

fsck compressed ROM file system

## NAME

fsck.cramfs - fsck compressed ROM file system

## SYNOPSIS

**fsck.cramfs** \[options\] *file*

## DESCRIPTION

**fsck.cramfs** is used to check the cramfs file system.

## OPTIONS

- **-v**, **--verbose**

  Enable verbose messaging.

- **-b**, **--blocksize** *blocksize*

  Use this blocksize, defaults to page size. Must be equal to what was set at creation time. Only used for **--extract**.

- **--extract**\[**=***directory*\]

  Test to uncompress the whole file system. Optionally extract contents of the *file* to *directory*.

- **-a**

  This option is silently ignored.

- **-y**

  This option is silently ignored.

- **-h**, **--help**

  Display help text and exit.

- **-V**, **--version**

  Display version and exit.

## EXIT STATUS

**0**

success

**4**

file system was left uncorrected

**8**

operation error, such as unable to allocate memory

**16**

usage information was printed

## SEE ALSO

[**mount**(8)](/mount/8.md), [**mkfs.cramfs**(8)](/mkfs.cramfs/8.md)

## REPORTING BUGS

For bug reports, use the *issue tracker* \<https://github.com/util-linux/util-linux/issues\>.

## AVAILABILITY

The **fsck.cramfs** command is part of the util-linux package which can be downloaded from *Linux Kernel Archive* \<https://www.kernel.org/pub/linux/utils/util-linux/\>.
