summaryrefslogtreecommitdiffstats
path: root/sbin/fsck_ffs/fsck.h
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.h
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.h')
-rw-r--r--sbin/fsck_ffs/fsck.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sbin/fsck_ffs/fsck.h b/sbin/fsck_ffs/fsck.h
index 7fa831f..0a49e4c 100644
--- a/sbin/fsck_ffs/fsck.h
+++ b/sbin/fsck_ffs/fsck.h
@@ -164,6 +164,7 @@ long numdirs, listmax, inplast;
char *cdevname; /* name of device being checked */
long dev_bsize; /* computed value of DEV_BSIZE */
long secsize; /* actual disk sector size */
+char fflag; /* force fs check (ignore clean flag) */
char nflag; /* assume a no response */
char yflag; /* assume a yes response */
int bflag; /* location of alternate super block */
OpenPOWER on IntegriCloud