xref: /aosp_15_r20/external/erofs-utils/man/fsck.erofs.1 (revision 33b1fccf6a0fada2c2875d400ed01119b7676ee5)
Copyright (c) 2021 Daeho Jeong <[email protected]>

FSCK.EROFS 1
NAME
fsck.erofs - tool to check an EROFS filesystem's integrity
SYNOPSIS
fsck.erofs [OPTIONS] IMAGE
DESCRIPTION
fsck.erofs is used to scan an EROFS filesystem IMAGE and check the integrity of it.
OPTIONS

-V, --version Print the version number of fsck.erofs and exit.

"-d " # Specify the level of debugging messages. The default is 2, which shows basic warning messages.

-p Print total compression ratio of all files including compressed and non-compressed files.

"--device=" path Specify an extra blob device to be used together. You may give multiple --device options in the correct order.

"--extract" "[=directory]" Test to extract the whole file system. It scans all inode data, including compressed inode data, which leads to more I/O and CPU load, so it might take a long time depending on the image size. Optionally extract contents of the IMAGE to directory.

-h, --help Display help string and exit.

-a, -A, -y These options do nothing at all; they are provided only for compatibility with the fsck programs of other filesystems.

AUTHOR
This version of fsck.erofs is written by Daeho Jeong <[email protected]>.
AVAILABILITY
fsck.erofs is part of erofs-utils package and is available from git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs-utils.git.
SEE ALSO
fsck (8).