blob: 364219a2b20c636a219a964ac9d4d56d73506a11 [file] [log] [blame]
.\" Copyright (c) 2021 Daeho Jeong <daehojeong@google.com>
.\"
.TH FSCK.EROFS 1
.SH NAME
fsck.erofs \- tool to check an 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 blob device to be used together.
You may give multiple
.B --device
options in the correct order.
.TP
.B \-\-extract
Check if all files are well encoded. This read all compressed files,
and hence create more I/O load,
so it might take too much time depending on the image.
.TP
.B \-\-help
Display help string 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).