[PATCH] erofs-utils: manpages: add more description for --extract option

Gao Xiang hsiangkao at linux.alibaba.com
Mon Jul 15 13:38:29 AEST 2024


Especially, extract files to a specific directory.

Signed-off-by: Gao Xiang <hsiangkao at 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..9cb14e2 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.
+
+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.43.5



More information about the Linux-erofs mailing list