Skip to contentSkip to conversation

dump.f2fs: Add help description for -rfyPo

PATCH In review Daniel Rosenberg via Linux-f2fs-devel 2 participants 3 messages Jun 19, 2024

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 dump.f2fs: Add help description for -rfyPo

These were described in man pages, but not within the help message.

---
 fsck/main.c | 5 +++++
 1 file changed, 5 insertions(+)
fsck/main.c +5 -0
index 6edc902..901fa7a 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 Recursively dump from the root inode\n");
+	MSG(0, "  -f Do not prompt before dumping\n");
+	MSG(0, "  -y Alias for -f\n");
+	MSG(0, "  -P Preserve mode/Owner/Group for dumped inode\n");
+	MSG(0, "  -o <path>  Dump inodes to the given path\n");
 	MSG(0, "  -V print the version number and exit\n");
 
 	exit(1);

base-commit: c1a97862b05d8a736ad8719939395c61bd71c982

Signature · 8 lines
2.45.2.627.g7a2c4fd464-goog



_______________________________________________
Linux-f2fs-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel
#1 lore raw
Quoted 3 lines · Daniel Rosenberg

These were described in man pages, but not within the help message.

Can you please check below patch?

https://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs-tools.git/commit/?h=dev-test&id=c07b0954506a159f68358edddc09be0a4d810e61

Thanks,

Quoted 21 lines
---
  fsck/main.c | 5 +++++
  1 file changed, 5 insertions(+)
fsck/main.c +5 -0
index 6edc902..901fa7a 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 Recursively dump from the root inode\n");
+	MSG(0, "  -f Do not prompt before dumping\n");
+	MSG(0, "  -y Alias for -f\n");
+	MSG(0, "  -P Preserve mode/Owner/Group for dumped inode\n");
+	MSG(0, "  -o <path>  Dump inodes to the given path\n");
  	MSG(0, "  -V print the version number and exit\n");
 
  	exit(1);
Quoted 1 line

base-commit: c1a97862b05d8a736ad8719939395c61bd71c982

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

#2 lore raw
Quoted 31 lines · Chao Yu
Quoted 3 lines · Daniel Rosenberg

These were described in man pages, but not within the help message.

Can you please check below patch?

https://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs-tools.git/commit/?h=dev-test&id=c07b0954506a159f68358edddc09be0a4d810e61

Thanks,

Quoted 19 lines
---
  fsck/main.c | 5 +++++
  1 file changed, 5 insertions(+)
fsck/main.c +5 -0
index 6edc902..901fa7a 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 Recursively dump from the root inode\n");
+     MSG(0, "  -f Do not prompt before dumping\n");
+     MSG(0, "  -y Alias for -f\n");
+     MSG(0, "  -P Preserve mode/Owner/Group for dumped inode\n");
+     MSG(0, "  -o <path>  Dump inodes to the given path\n");
      MSG(0, "  -V print the version number and exit\n");
 
Quoted 6 lines
Quoted 3 lines
fsck/main.c +0 -0
      exit(1);

base-commit: c1a97862b05d8a736ad8719939395c61bd71c982

To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].

Ah, I missed that one. That will work :)

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