summaryrefslogtreecommitdiffstats
path: root/sbin/fsck_ffs/main.c
diff options
context:
space:
mode:
authorguido <guido@FreeBSD.org>1996-10-08 14:54:53 +0000
committerguido <guido@FreeBSD.org>1996-10-08 14:54:53 +0000
commitfa2df9711183d8333b77f915f0f7304e3b408afa (patch)
treee3c11f7e57d19cf474a8603163173ff4ce06bd57 /sbin/fsck_ffs/main.c
parentc75b6f83bd908dad24cff37264fcd8c631923f96 (diff)
downloadFreeBSD-src-fa2df9711183d8333b77f915f0f7304e3b408afa.zip
FreeBSD-src-fa2df9711183d8333b77f915f0f7304e3b408afa.tar.gz
Fix the case where fsck would not see sparse directories and the kernel would
panic. If such a thing is fixed fsck needs a rerun (and bugs the user to do so). Reviewed by: Kirk McKusick
Diffstat (limited to 'sbin/fsck_ffs/main.c')
-rw-r--r--sbin/fsck_ffs/main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sbin/fsck_ffs/main.c b/sbin/fsck_ffs/main.c
index f2ac7d3..363bba7 100644
--- a/sbin/fsck_ffs/main.c
+++ b/sbin/fsck_ffs/main.c
@@ -310,6 +310,8 @@ checkfilesys(filesys, mntpt, auxdata, child)
return (0);
if (!preen)
printf("\n***** FILE SYSTEM WAS MODIFIED *****\n");
+ if (rerun)
+ printf("\n***** PLEASE RERUN FSCK *****\n");
if (hotroot) {
struct statfs stfs_buf;
/*
OpenPOWER on IntegriCloud