aboutsummaryrefslogtreecommitdiff
path: root/sbin/quotacheck/preen.c
diff options
context:
space:
mode:
authorKirk McKusick <mckusick@FreeBSD.org>2001-03-21 09:48:03 +0000
committerKirk McKusick <mckusick@FreeBSD.org>2001-03-21 09:48:03 +0000
commit7578c6ab98589fcbfc585e67ba7973fa40efb8b4 (patch)
tree9ae22c7c2279fbc251d488106c58f641f5904fcf /sbin/quotacheck/preen.c
parent3fa18367c216de605a4905dc7637074739c3457c (diff)
downloadsrc-7578c6ab98589fcbfc585e67ba7973fa40efb8b4.tar.gz
src-7578c6ab98589fcbfc585e67ba7973fa40efb8b4.zip
Additions to run checks on live filesystems. This change will not
affect current systems until fsck is modified to use these new facilities. To try out this change, set the fsck passno to zero in /etc/fstab to cause the filesystem to be mounted without running fsck, then run `fsck_ffs -p -B <filesystem>' after the system has been brought up multiuser to run a background cleanup on <filesystem>. Note that the <filesystem> in question must have soft updates enabled.
Notes
Notes: svn path=/head/; revision=74556
Diffstat (limited to 'sbin/quotacheck/preen.c')
-rw-r--r--sbin/quotacheck/preen.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sbin/quotacheck/preen.c b/sbin/quotacheck/preen.c
index 4ad426f9edb4..aee801e78e2c 100644
--- a/sbin/quotacheck/preen.c
+++ b/sbin/quotacheck/preen.c
@@ -44,6 +44,7 @@ static const char rcsid[] =
#include <sys/wait.h>
#include <ufs/ufs/dinode.h>
+#include <ufs/ffs/fs.h>
#include <ctype.h>
#include <errno.h>