1FSCK.F2FS(8)                System Manager's Manual               FSCK.F2FS(8)
2
3
4

NAME

6       fsck.f2fs - check a Linux F2FS file system
7

SYNOPSIS

9       fsck.f2fs  [  -a  enable auto fix ] [ -f enable force fix ] [ -p enable
10       preen mode ] [ -t show stored directory tree ] [ -d  debugging-level  ]
11       device
12

DESCRIPTION

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

OPTIONS

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       -p enable preen mode
29              Same as "-a" to support general fsck convention.
30
31       -t show stored directory tree
32              Enable to show every directory entries in the partition.
33
34       -d debug-level
35              Specify the level of debugging options.  The default  number  is
36              0, which shows basic debugging messages.
37
38
39       AUTHOR
40              Initial   checking   code   was   written  by  Byoung  Geun  Kim
41              <bgbg.kim@samsung.com>.    Jaegeuk   Kim    <jaegeuk@kernel.org>
42              reworked most parts of the codes to support fixing any corrupted
43              images.
44

AVAILABILITY

46       fsck.f2fs  is  available  from  git://git.kernel.org/pub/scm/linux/ker‐
47       nel/git/jaegeuk/f2fs-tools.git.
48

SEE ALSO

50       mkfs.f2fs(8),     dump.f2fs(8),     defrag.f2fs(8),     resize.f2fs(8),
51       sload.f2fs(8).
52
53
54
55                                                                  FSCK.F2FS(8)
Impressum