From b77023fda8aaa25e165da3f9ccc7acb0a497aa9a Mon Sep 17 00:00:00 2001 From: Gao Xiang Date: Mon, 15 Jul 2024 11:38:29 +0800 Subject: [PATCH] erofs-utils: manpage: add more description for --extract option Especially, extract files to a specific directory. Signed-off-by: Gao Xiang Link: https://lore.kernel.org/r/20240715033829.2338056-1-hsiangkao@linux.alibaba.com --- man/fsck.erofs.1 | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/man/fsck.erofs.1 b/man/fsck.erofs.1 index c94fff9..393ae9e 100644 --- a/man/fsck.erofs.1 +++ b/man/fsck.erofs.1 @@ -27,15 +27,17 @@ 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. +.BI "\-\-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 \fIIMAGE\fR to \fIdirectory\fR. .TP \fB\-h\fR, \fB\-\-help\fR Display help string and exit. .TP -\fB\-a\fR, \fB\-A\fR, \fB-y\R +\fB\-a\fR, \fB\-A\fR, \fB-y\fR These options do nothing at all; they are provided only for compatibility with the fsck programs of other filesystems. .SH AUTHOR -- 2.34.1