Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-9]: src/usr.sbin/sysinst Pull up following revision(s) (requested...



details:   https://anonhg.NetBSD.org/src/rev/498f6363b553
branches:  netbsd-9
changeset: 462317:498f6363b553
user:      msaitoh <msaitoh%NetBSD.org@localhost>
date:      Fri Aug 09 06:20:12 2019 +0000

description:
Pull up following revision(s) (requested by martin in ticket #32):
        usr.sbin/sysinst/disks.c: revision 1.49
Do not try to fsck partitions we are never going to mount.
Found by Andreas Gustafsson's baremetal test bed.

diffstat:

 usr.sbin/sysinst/disks.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 86ca5e079a90 -r 498f6363b553 usr.sbin/sysinst/disks.c
--- a/usr.sbin/sysinst/disks.c  Thu Aug 08 11:52:58 2019 +0000
+++ b/usr.sbin/sysinst/disks.c  Fri Aug 09 06:20:12 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: disks.c,v 1.44.2.4 2019/08/08 05:53:03 msaitoh Exp $ */
+/*     $NetBSD: disks.c,v 1.44.2.5 2019/08/09 06:20:12 msaitoh Exp $ */
 
 /*
  * Copyright 1997 Piermont Information Systems Inc.
@@ -1192,7 +1192,7 @@
                                error = run_program(RUN_DISPLAY | RUN_PROGRESS,
                            "%s %s", newfs, rdev);
                        }
-               } else {
+               } else if (ptn->instflags & (PUIINST_MOUNT|PUIINST_BOOT)) {
                        /* We'd better check it isn't dirty */
                        error = fsck_preen(devdev, fsname, false);
                }



Home | Main Index | Thread Index | Old Index