logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

dump.f2fs - retrieve directory and file entries from an F2FS-formated image

Availability

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

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).

       Currently, it can retrieve 1) a file given its inode number, 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.

Name

       dump.f2fs - retrieve directory and file entries from an F2FS-formated image

Options

-iinodenumber
              Specify an inode number to dump out.

       -Iinodenumber
              Specify an inode number and scan full disk to dump out, include history inode block

       -nNATrange
              Specify a range presented by nids to dump NAT entries.

       -MBlockmap
              Show all the allocated block addresses given inode number.

       -sSITrange
              Specify a range presented by segment numbers to dump SIT entries.

       -aSSArange
              Specify a range presented by segment numbers to dump SSA entries.

       -bblockaddress
              Specify a block address to retrieve its metadata information.

       -ddebug-level
              Specify  the  level  of  debugging  options.  The default number is 0, which shows basic debugging
              messages.

       AUTHOR
              Initial checking code was written by Byoung Geun Kim <bgbg.kim@samsung.com>.

See Also

mkfs.f2fs(8),fsck.f2fs(8),defrag.f2fs(8),resize.f2fs(8),sload.f2fs(8).DUMP.F2FS(8)

Synopsis

dump.f2fs [ -iinodenumber ] [ -Iinodenumber ] [ -nNATrange ] [ -MBlockmap ] [ -sSITrange ] [ -aSSArange ] [ -bblockaddress ] [ -ddebugging-level ] device

See Also