Changeset View
Changeset View
Standalone View
Standalone View
sbin/fsck_ffs/fsutil.c
Show First 20 Lines • Show All 570 Lines • ▼ Show 20 Lines | if ((!(sblock.fs_flags & FS_UNCLEAN)) != markclean) { | ||||
if (!markclean) | if (!markclean) | ||||
rerun = 1; | rerun = 1; | ||||
} | } | ||||
} else if (!preen && !markclean) { | } else if (!preen && !markclean) { | ||||
printf("\n***** FILE SYSTEM STILL DIRTY *****\n"); | printf("\n***** FILE SYSTEM STILL DIRTY *****\n"); | ||||
rerun = 1; | rerun = 1; | ||||
} | } | ||||
} | } | ||||
if (debug && totalreads > 0) | if (debug && cachelookups > 0) | ||||
printf("cache with %d buffers missed %d of %d (%d%%)\n", | printf("cache with %d buffers missed %d of %d (%d%%)\n", | ||||
numbufs, cachereads, cachelookups, | numbufs, cachereads, cachelookups, | ||||
(int)(cachereads * 100 / cachelookups)); | (int)(cachereads * 100 / cachelookups)); | ||||
if (fswritefd < 0) { | if (fswritefd < 0) { | ||||
(void)close(fsreadfd); | (void)close(fsreadfd); | ||||
return; | return; | ||||
} | } | ||||
/* | /* | ||||
▲ Show 20 Lines • Show All 748 Lines • Show Last 20 Lines |