summaryrefslogtreecommitdiffstats
path: root/sbin/fsck_ffs/fsck_ffs.8
diff options
context:
space:
mode:
authordg <dg@FreeBSD.org>1994-08-20 16:56:36 +0000
committerdg <dg@FreeBSD.org>1994-08-20 16:56:36 +0000
commitd138b7abb90e6f1b90daccd31358d4b825010882 (patch)
tree3ac1ca61e320553a32d2b2489ccf685bedcb0bea /sbin/fsck_ffs/fsck_ffs.8
parentf817326b2eacf649d2b0d53d60ff2d4b6fd74577 (diff)
downloadFreeBSD-src-d138b7abb90e6f1b90daccd31358d4b825010882.zip
FreeBSD-src-d138b7abb90e6f1b90daccd31358d4b825010882.tar.gz
Added filesystem clean bit support. This only affects fsck during a
preen (-p), and in that case the filesystem is skipped if it is clean. A new flag "-f" for 'force' has been added which basically gives back the old behavior of checking all the filesystems all the time. This very closely models the behavior of SunOS and Ultrix.
Diffstat (limited to 'sbin/fsck_ffs/fsck_ffs.8')
-rw-r--r--sbin/fsck_ffs/fsck_ffs.87
1 files changed, 7 insertions, 0 deletions
diff --git a/sbin/fsck_ffs/fsck_ffs.8 b/sbin/fsck_ffs/fsck_ffs.8
index cf8c499..94e31ef 100644
--- a/sbin/fsck_ffs/fsck_ffs.8
+++ b/sbin/fsck_ffs/fsck_ffs.8
@@ -40,6 +40,7 @@
.Sh SYNOPSIS
.Nm fsck
.Fl p
+.Op Fl f
.Op Fl m Ar mode
.Nm fsck
.Op Fl b Ar block#
@@ -72,6 +73,12 @@ The disk drive containing each filesystem is inferred from the longest prefix
of the device name that ends in a digit; the remaining characters are assumed
to be the partition designator.
.Pp
+The clean flag of each filesystem's superblock is examined and only those filesystems that
+are not marked clean are checked. If the
+.Fl f
+option is specified, the filesystems
+will be checked regardless of the state of their clean flag.
+.Pp
The kernel takes care that only a restricted class of innocuous filesystem
inconsistencies can happen unless hardware or software failures intervene.
These are limited to the following:
OpenPOWER on IntegriCloud