fsck - filesystem consistency check and interactive repair
fsck [-dfnpvy] [-l maxparallel] [-T fstype:fsoptions] [-t
special | node ...
The fsck command invokes filesystem-specific programs to
check the special
devices listed in the fstab(5) file or on the command
line for consistency.
The options are as follows:
-d Debugging mode. Just print the commands without executing them.
Available only if fsck is compiled to support it.
-f Force checking of filesystems, even when they are
(for filesystems that support this).
Limit the number of parallel checks to maxparallel.
the limit is the number of disks, running one process per disk.
If a smaller limit is given, the disks are checked
one filesystem at a time.
-n Cause fsck to assume ``no'' as the answer to all operator questions,
except ``CONTINUE?''. This is assumed to be
when dealing with filesystems currently mounted
-p Enter preen mode.
List of comma separated filesystem specific options
for the specified
filesystem type, in the same format as
Invoke fsck only in the comma separated list of
If the list starts with ``no'', invoke fsck only in
types that are not specified in the list.
-v Print the commands before executing them.
-y Cause fsck to assume ``yes'' as the answer to all
/etc/fstab filesystem table
fstab(5), fsck_ext2fs(8), fsck_ffs(8), fsck_msdos(8), fsdb(8), growfs(8),
OpenBSD 3.6 September 23, 1996
[ Back ]