summaryrefslogtreecommitdiffstats
path: root/sbin/fsck
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2001-04-07 13:24:59 +0000
committerphk <phk@FreeBSD.org>2001-04-07 13:24:59 +0000
commita117685f16a0c4eef6ec4722bd8b2b3c9c1dd5aa (patch)
treec6cf1f8faddc295454183f4e9ea0d0f40986fc18 /sbin/fsck
parentc0d5285dcfa8a1ea8b5457d21ff7c8dd851de1ef (diff)
downloadFreeBSD-src-a117685f16a0c4eef6ec4722bd8b2b3c9c1dd5aa.zip
FreeBSD-src-a117685f16a0c4eef6ec4722bd8b2b3c9c1dd5aa.tar.gz
Don't make fsck go quite _that_ fast:
In Preen mode we only checked one partition per disk device.
Diffstat (limited to 'sbin/fsck')
-rw-r--r--sbin/fsck/preen.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sbin/fsck/preen.c b/sbin/fsck/preen.c
index ee1aad2..3313272 100644
--- a/sbin/fsck/preen.c
+++ b/sbin/fsck/preen.c
@@ -178,7 +178,6 @@ checkfstab(flags, docheck, checkit)
continue;
}
-
if (WIFEXITED(status))
retcode = WEXITSTATUS(status);
else
@@ -215,6 +214,9 @@ checkfstab(flags, docheck, checkit)
if (TAILQ_EMPTY(&d->d_part)) {
TAILQ_REMOVE(&diskh, d, d_entries);
ndisks--;
+ } else {
+ if ((ret = startdisk(d, checkit)) != 0)
+ return ret;
}
}
if (flags & CHECK_DEBUG) {
OpenPOWER on IntegriCloud