Add missing usage for directory dumping functionality of dump.f2fs
as below:

  -r dump out from the root inode
  -f do not prompt before dumping
  -y alias for -f
  -o dump inodes to the given path
  -P preserve mode/owner/group for dumped inode

Cc: Daniel Rosenberg <dro...@google.com>
Signed-off-by: Chao Yu <c...@kernel.org>
---
 fsck/main.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/fsck/main.c b/fsck/main.c
index 6edc902..c13e287 100644
--- a/fsck/main.c
+++ b/fsck/main.c
@@ -97,6 +97,11 @@ void dump_usage()
        MSG(0, "  -S sparse_mode\n");
        MSG(0, "  -a [SSA dump segno from #1~#2 (decimal), for all 0~-1]\n");
        MSG(0, "  -b blk_addr (in 4KB)\n");
+       MSG(0, "  -r dump out from the root inode\n");
+       MSG(0, "  -f do not prompt before dumping\n");
+       MSG(0, "  -y alias for -f\n");
+       MSG(0, "  -o dump inodes to the given path\n");
+       MSG(0, "  -P preserve mode/owner/group for dumped inode\n");
        MSG(0, "  -V print the version number and exit\n");
 
        exit(1);
-- 
2.40.1



_______________________________________________
Linux-f2fs-devel mailing list
Linux-f2fs-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel

Reply via email to