DUMP.F2FS(8)

okay bestie, this is the dump.f2fs page from the System Manager's Manual β€” yes, the DUMP.F2FS(8) one β€” and we're keeping the whole lore intact πŸ’–

πŸ’– NAME πŸ’–

dump.f2fs β€” retrieve directory and file entries from an F2FS-formated image. Yes, F2FS-formated is the original spelling and we are not fixing it, periodt ✨

πŸ¦‹ SYNOPSIS πŸ¦‹

okay so the group-chat invocation is literally:

dump.f2fs [ -i inode number ] [ -I inode number ] [ -n NAT range ] [ -M Block map ] [ -s SIT range ] [ -a SSA range ] [ -b block address ] [ -d debugging-level ] device

🌸 DESCRIPTION 🌸

dump.f2fs is used to retrieve f2fs metadata (usually in a disk partition). device is the special file corresponding to the device (e.g. /dev/sdXX). No cap.

Currently, it can retrieve:

  1. a file or folder given its inode number (folders are dumped recursively)
  2. NAT entries into a file
  3. SIT entries into a file
  4. SSA entries into a file
  5. reverse information from the given block address
The exit code returned by dump.f2fs is 0 on success and -1 on failure. That's the vibe check: success = 0, failure = -1 πŸ’€

✨ OPTIONS ✨

  • -i inode number β€” specify an inode number to dump out. Slay.
  • -r β€” dump out from the root inode. Starting at the root is very main-character energy 🌱
  • -f β€” do not prompt before dumping. Less "are you sure?" more "go go go" πŸ’…
  • -y β€” alias for -f. Same energy, different letter.
  • -o path β€” dump inodes to the given path.
  • -P β€” preserve mode/owner/group for dumped inode. Keep the whole fit intact πŸ‘‘
  • -L β€” preserves symlinks. Otherwise symlinks are dumped as regular files. Choose your fighter πŸ¦‹
  • -I inode number β€” specify an inode number and scan full disk to dump out, include history inode block. Full-scan behavior, bestie.
  • -n NAT range β€” specify a range presented by nids to dump NAT entries. NAT range realness.
  • -M Block map β€” show all the allocated block addresses given inode number.
  • -s SIT range β€” specify a range presented by segment numbers to dump SIT entries.
  • -a SSA range β€” specify a range presented by segment numbers to dump SSA entries.
  • -b block address β€” specify a block address to retrieve its metadata information.
  • -d debug-level β€” specify the level of debugging options. The default number is 0, which shows basic debugging messages.
  • -N β€” answer "No" for all questsions β€” yes, that spelling is from the original, and I'm keeping the artifact 😭

πŸ‘‘ AUTHOR πŸ‘‘

Initial checking code was written by Byoung Geun Kim <bgbg.kim@samsung.com>. Icon behavior fr fr πŸ’œ

🌈 AVAILABILITY 🌈

dump.f2fs is available from git://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs-tools.git.

πŸŽ€ SEE ALSO πŸŽ€


and that's the whole entire page, bestie β€” System Manager's Manual energy, footer just says DUMP.F2FS(8), and this copy doesn't give us a separate source/version/date line, so I'm not inventing one. periodt πŸ’…πŸŽ€

πŸ“¦ where this page comes from
  • arch rolling: f2fs-tools 1.17.0-1 Β· GPL-2.0-only AND (GPL-2.0-only OR LGPL-2.1-only)
  • πŸ’– girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms