blob: f3e9c3b8aaecb5e053dcb8bad9b11e5fd00ef22c [file] [log] [blame]
.\" Copyright (c) 2021 Daeho Jeong <daehojeong@google.com>
.\"
.TH FSCK.EROFS 1
.SH NAME
fsck.erofs \- tool to check the EROFS filesystem's integrity
.SH SYNOPSIS
\fBfsck.erofs\fR [\fIOPTIONS\fR] \fIIMAGE\fR
.SH DESCRIPTION
fsck.erofs is used to scan an EROFS filesystem \fIIMAGE\fR and check the
integrity of it.
.SH OPTIONS
.TP
.B \-V
Print the version number of fsck.erofs and exit.
.TP
.BI "\-d " #
Specify the level of debugging messages. The default is 2, which shows basic
warning messages.
.TP
.B \-p
Print total compression ratio of all files including compressed and
non-compressed files.
.TP
.BI "\-\-device=" path
Specify an extra device to be used together.
You may give multiple `--device' options in the correct order.
.TP
.B \-\-extract
Check if all files are well encoded. This will induce more I/Os to read
compressed file data, so it might take too much time depending on the image.
.TP
.B \-\-help
Display this help and exit.
.SH AUTHOR
This version of \fBfsck.erofs\fR is written by
Daeho Jeong <daehojeong@google.com>.
.SH AVAILABILITY
\fBfsck.erofs\fR is part of erofs-utils package and is available from
git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs-utils.git.
.SH SEE ALSO
.BR fsck (8).