FSCK.CRAMFS(8) System Administration FSCK.CRAMFS(8)

# [NAME](#NAME)

fsck.cramfs - fsck compressed ROM file system

# [SYNOPSIS](#SYNOPSIS)

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

# [DESCRIPTION](#DESCRIPTION)

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

# [OPTIONS](#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](#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](#SEE_ALSO)

[**mount**(8)](/man/os/util-linux/mount.8), [**mkfs.cramfs**(8)](/man/os/util-linux/mkfs.cramfs.8)

# [REPORTING BUGS](#REPORTING_BUGS)

For bug reports, use the *issue tracker* &lt;https://github.com/util-linux/util-linux/issues&gt;.

# [AVAILABILITY](#AVAILABILITY)

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

2026-10-30 util-linux 2.42.4

---

Document: fsck.cramfs(8) from util-linux 2.42.4-r2 (Chainguard OS)
