don't ignore "fsck -f" when given with "-p" on a wapbl filesystem.
ie, "fsck -fp" actually forces the check in preen mode now.
This commit is contained in:
parent
36ea3668b9
commit
1c6ecba9bc
@ -1,4 +1,4 @@
|
|||||||
/* $NetBSD: setup.c,v 1.85 2009/02/25 13:52:18 christos Exp $ */
|
/* $NetBSD: setup.c,v 1.86 2009/03/25 03:42:41 mrg Exp $ */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 1980, 1986, 1993
|
* Copyright (c) 1980, 1986, 1993
|
||||||
@ -34,7 +34,7 @@
|
|||||||
#if 0
|
#if 0
|
||||||
static char sccsid[] = "@(#)setup.c 8.10 (Berkeley) 5/9/95";
|
static char sccsid[] = "@(#)setup.c 8.10 (Berkeley) 5/9/95";
|
||||||
#else
|
#else
|
||||||
__RCSID("$NetBSD: setup.c,v 1.85 2009/02/25 13:52:18 christos Exp $");
|
__RCSID("$NetBSD: setup.c,v 1.86 2009/03/25 03:42:41 mrg Exp $");
|
||||||
#endif
|
#endif
|
||||||
#endif /* not lint */
|
#endif /* not lint */
|
||||||
|
|
||||||
@ -174,7 +174,7 @@ setup(const char *dev, const char *origdev)
|
|||||||
pwarn("USING ALTERNATE SUPERBLOCK AT %d\n", bflag);
|
pwarn("USING ALTERNATE SUPERBLOCK AT %d\n", bflag);
|
||||||
}
|
}
|
||||||
if (sblock->fs_flags & FS_DOWAPBL) {
|
if (sblock->fs_flags & FS_DOWAPBL) {
|
||||||
if (preen) {
|
if (preen && !skipclean) {
|
||||||
if (!quiet)
|
if (!quiet)
|
||||||
pwarn("file system is journaled; not checking\n");
|
pwarn("file system is journaled; not checking\n");
|
||||||
return (-1);
|
return (-1);
|
||||||
|
Loading…
Reference in New Issue
Block a user