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

fsck.f2fs - check a Linux F2FS file system

Availability

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

Description

fsck.f2fs is used to check an f2fs file system (usually in a disk partition).  device is the special file
       corresponding to the device (e.g.  /dev/sdXX).

       The exit code returned by fsck.f2fs is 0 on success and -1 on failure.

Name

       fsck.f2fs - check a Linux F2FS file system

Options

-aenableautofix
              Enable to run file system check only if a bug was reported  by  the  F2FS  kernel  module.  It  is
              disabled by default.

       -fenableforcefix
              Enable to fix all the inconsistency in the partition.

       -Mshowfilesmap
              Enable to show all the filenames and inode numbers stored in the image

       -penablepreenmode
              Same as "-a" to support general fsck convention.

       -tshowstoreddirectorytree
              Enable to show every directory entries in the partition.

       -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>.   Jaegeuk  Kim
              <jaegeuk@kernel.org> reworked most parts of the codes to support fixing any corrupted images.

See Also

mkfs.f2fs(8),dump.f2fs(8),defrag.f2fs(8),resize.f2fs(8),sload.f2fs(8).FSCK.F2FS(8)

Synopsis

fsck.f2fs  [ -aenableautofix ] [ -fenableforcefix ] [ -Mshowfilemap ] [ -penablepreenmode ] [
       -tshowstoreddirectorytree ] [ -ddebugging-level ] device

See Also