* [f2fs-dev] [PATCH] dump.f2fs: update dump_usage() for directory dumping
@ 2024-05-31 1:40 Chao Yu
0 siblings, 0 replies; only message in thread
From: Chao Yu @ 2024-05-31 1:40 UTC (permalink / raw)
To: jaegeuk; +Cc: Daniel Rosenberg, linux-f2fs-devel
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(+)
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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2024-05-31 1:40 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-31 1:40 [f2fs-dev] [PATCH] dump.f2fs: update dump_usage() for directory dumping Chao Yu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).