# phpman > info > fsck.xfs

[fsck.xfs(8)](https://www.chedong.com/phpMan.php/man/fsck.xfs/8/markdown)                 System Manager's Manual                [fsck.xfs(8)](https://www.chedong.com/phpMan.php/man/fsck.xfs/8/markdown)

NAME
       fsck.xfs - do nothing, successfully

SYNOPSIS
       fsck.xfs [ filesys ... ]

DESCRIPTION
       fsck.xfs  is  called by the generic Linux [fsck(8)](https://www.chedong.com/phpMan.php/man/fsck/8/markdown) program at startup to
       check and repair an XFS filesystem.  XFS is a journaling filesystem and
       performs recovery at [mount(8)](https://www.chedong.com/phpMan.php/man/mount/8/markdown) time if necessary, so fsck.xfs simply ex-
       its with a zero exit status.

       If you wish to check the consistency of an XFS filesystem, or repair  a
       damaged or corrupt XFS filesystem, see [xfs_repair(8)](https://www.chedong.com/phpMan.php/man/xfsrepair/8/markdown).

       However,  the  system  administrator  can force fsck.xfs to run xfs_re-
       [pair(8)](https://www.chedong.com/phpMan.php/man/pair/8/markdown) at boot time by creating a /forcefsck file or booting the  sys-
       tem with "fsck.mode=force" on the kernel command line.

FILES
       /etc/fstab.

SEE ALSO
       [fsck(8)](https://www.chedong.com/phpMan.php/man/fsck/8/markdown), [fstab(5)](https://www.chedong.com/phpMan.php/man/fstab/5/markdown), [xfs(5)](https://www.chedong.com/phpMan.php/man/xfs/5/markdown), [xfs_repair(8)](https://www.chedong.com/phpMan.php/man/xfsrepair/8/markdown).

                                                                   [fsck.xfs(8)](https://www.chedong.com/phpMan.php/man/fsck.xfs/8/markdown)
