Message ID | 20240531014028.1014251-1-chao@kernel.org (mailing list archive) |
---|---|
State | New |
Headers | show |
Series | [f2fs-dev] dump.f2fs: update dump_usage() for directory dumping | expand |
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);
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 <drosen@google.com> Signed-off-by: Chao Yu <chao@kernel.org> --- fsck/main.c | 5 +++++ 1 file changed, 5 insertions(+)