1FSCK.F2FS(8) System Manager's Manual FSCK.F2FS(8)
2
3
4
6 fsck.f2fs - check a Linux F2FS file system
7
9 fsck.f2fs [ -a enable auto fix ] [ -f enable force fix ] [ -M show file
10 map ] [ -p enable preen mode ] [ -t show stored directory tree ] [ -d
11 debugging-level ] device
12
14 fsck.f2fs is used to check an f2fs file system (usually in a disk par‐
15 tition). device is the special file corresponding to the device (e.g.
16 /dev/sdXX).
17
18 The exit code returned by fsck.f2fs is 0 on success and -1 on failure.
19
21 -a enable auto fix
22 Enable to run file system check only if a bug was reported by
23 the F2FS kernel module. It is disabled by default.
24
25 -f enable force fix
26 Enable to fix all the inconsistency in the partition.
27
28 -M show files map
29 Enable to show all the filenames and inode numbers stored in the
30 image
31
32 -p enable preen mode
33 Same as "-a" to support general fsck convention.
34
35 -t show stored directory tree
36 Enable to show every directory entries in the partition.
37
38 -d debug-level
39 Specify the level of debugging options. The default number is
40 0, which shows basic debugging messages.
41
42
43 AUTHOR
44 Initial checking code was written by Byoung Geun Kim
45 <bgbg.kim@samsung.com>. Jaegeuk Kim <jaegeuk@kernel.org> re‐
46 worked most parts of the codes to support fixing any corrupted
47 images.
48
50 fsck.f2fs is available from git://git.kernel.org/pub/scm/linux/ker‐
51 nel/git/jaegeuk/f2fs-tools.git.
52
54 mkfs.f2fs(8), dump.f2fs(8), defrag.f2fs(8), resize.f2fs(8),
55 sload.f2fs(8).
56
57
58
59 FSCK.F2FS(8)