Skip to content

Commit

Permalink
dump.f2fs: update dump_usage() for directory dumping
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Chao Yu <[email protected]>
Signed-off-by: Jaegeuk Kim <[email protected]>
  • Loading branch information
chaseyu authored and Jaegeuk Kim committed Jun 4, 2024
1 parent a3104a1 commit c07b095
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions fsck/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit c07b095

Please sign in to comment.