Skip to contentSkip to conversation

dump.f2fs: update dump_usage() for directory dumping

PATCH New Chao Yu 1 participant 1 message May 31, 2024

lore
Share & tools
lore

Chao Yu

author
#0 lore raw

PATCH 1/1 dump.f2fs: update dump_usage() for directory dumping

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]>
---
 fsck/main.c | 5 +++++
 1 file changed, 5 insertions(+)
fsck/main.c +5 -0
index 6edc902..c13e287 100644
@@ -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);
Signature · 8 lines
2.40.1



_______________________________________________
Linux-f2fs-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel