OS Manuals

/usr/bin/fsck

Misc binaries for util-linux

From util-linux-misc 2.42.4-r2 (os), captured 2026-11-05 by running fsck --help (exit 0). permalink

Usage:
 fsck [options] -- [fs-options] [<filesystem> ...]

Check and repair a Linux filesystem.

Options:
 -A         check all filesystems
 -C [<fd>]  display progress bar; file descriptor is for GUIs
 -l         lock the device to guarantee exclusive access
 -M         do not check mounted filesystems
 -N         do not execute, just show what would be done
 -P         check filesystems in parallel, including root
 -R         skip root filesystem; useful only with '-A'
 -r [<fd>]  report statistics for each device checked;
            file descriptor is for GUIs
 -s         serialize the checking operations
 -T         do not show the title on startup
 -t <type>  specify filesystem types to be checked;
            <type> is allowed to be a comma-separated list
 -V         explain what is being done

 -?, --help     display this help
     --version  display version

See the specific fsck.* commands for available fs-options.
For more details see fsck(8).
Options (14)
OptionDescriptionSource
-AWalk through the /etc/fstab file and try to check all filesystems in one run.help + man
-C fdDisplay completion/progress bars for those filesystem checkers (currently only for ext[234]) which support them.help + man
-lCreate an exclusive flock(2) lock file (/run/fsck/<diskname>.lock) for whole-disk device.help + man
-MDo not check mounted filesystems and return an exit status of 0 for mounted filesystems.help + man
-NDon’t execute, just show what would be done.help + man
-PWhen the -A flag is set, check the root filesystem in parallel with the other filesystems.help + man
-RWhen checking all filesystems with the -A flag, skip the root filesystem.help + man
-r fdReport certain statistics for each fsck when it completes.help + man
-sserialize the checking operationshelp + man
-TDon’t show the title on startup.help + man
-t typeSpecifies the type(s) of filesystem to be checked.help + man
-VProduce verbose output, including all filesystem-specific commands that are executed.help + man
-?, --helpDisplay help text and exit.help + man
--versionDisplay version and exit.help + man

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.