1DUMP.F2FS(8) System Manager's Manual DUMP.F2FS(8)
2
3
4
6 dump.f2fs - retrieve directory and file entries from an F2FS-formated
7 image
8
10 dump.f2fs [ -i inode number ] [ -I inode number ] [ -n NAT range ] [ -M
11 Block map ] [ -s SIT range ] [ -a SSA range ] [ -b block address ] [ -d
12 debugging-level ] device
13
15 dump.f2fs is used to retrieve f2fs metadata (usually in a disk parti‐
16 tion). device is the special file corresponding to the device (e.g.
17 /dev/sdXX).
18
19 Currently, it can retrieve 1) a file given its inode number, 2) NAT en‐
20 tries into a file, 3) SIT entries into a file, 4) SSA entries into a
21 file, 5) reverse information from the given block address.
22
23 The exit code returned by dump.f2fs is 0 on success and -1 on failure.
24
26 -i inode number
27 Specify an inode number to dump out.
28
29 -I inode number
30 Specify an inode number and scan full disk to dump out, include
31 history inode block
32
33 -n NAT range
34 Specify a range presented by nids to dump NAT entries.
35
36 -M Block map
37 Show all the allocated block addresses given inode number.
38
39 -s SIT range
40 Specify a range presented by segment numbers to dump SIT en‐
41 tries.
42
43 -a SSA range
44 Specify a range presented by segment numbers to dump SSA en‐
45 tries.
46
47 -b block address
48 Specify a block address to retrieve its metadata information.
49
50 -d debug-level
51 Specify the level of debugging options. The default number is
52 0, which shows basic debugging messages.
53
54
55 AUTHOR
56 Initial checking code was written by Byoung Geun Kim
57 <bgbg.kim@samsung.com>.
58
60 dump.f2fs is available from git://git.kernel.org/pub/scm/linux/ker‐
61 nel/git/jaegeuk/f2fs-tools.git.
62
64 mkfs.f2fs(8), fsck.f2fs(8), defrag.f2fs(8), resize.f2fs(8),
65 sload.f2fs(8).
66
67
68
69 DUMP.F2FS(8)