]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/blob - man/man8/fsck.xfs.8
fsck.xfs: allow forced repairs using xfs_repair
[thirdparty/xfsprogs-dev.git] / man / man8 / fsck.xfs.8
1 .TH fsck.xfs 8
2 .SH NAME
3 fsck.xfs \- do nothing, successfully
4 .SH SYNOPSIS
5 .B fsck.xfs
6 [
7 .I filesys
8 \&... ]
9 .SH DESCRIPTION
10 .B fsck.xfs
11 is called by the generic Linux
12 .BR fsck (8)
13 program at startup to check and repair an XFS filesystem.
14 XFS is a journaling filesystem and performs recovery at
15 .BR mount (8)
16 time if necessary, so
17 .B fsck.xfs
18 simply exits with a zero exit status.
19 .PP
20 If you wish to check the consistency of an XFS filesystem,
21 or repair a damaged or corrupt XFS filesystem,
22 see
23 .BR xfs_repair (8).
24 .PP
25 However, the system administrator can force
26 .B fsck.xfs
27 to run
28 .BR xfs_repair (8)
29 at boot time by creating a /forcefsck file or booting the system with
30 "fsck.mode=force" on the kernel command line.
31 .
32 .SH FILES
33 .IR /etc/fstab .
34 .SH SEE ALSO
35 .BR fsck (8),
36 .BR fstab (5),
37 .BR xfs (5),
38 .BR xfs_repair (8).