Source-Changes-HG archive

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

[src/trunk]: src/distrib/utils/sysinst Ensure we only remove the size of /usr...



details:   https://anonhg.NetBSD.org/src/rev/8202255f6821
branches:  trunk
changeset: 573193:8202255f6821
user:      dsl <dsl%NetBSD.org@localhost>
date:      Fri Jan 21 17:02:40 2005 +0000

description:
Ensure we only remove the size of /usr from that of / once.
Fixes PR install/28568

diffstat:

 distrib/utils/sysinst/bsddisklabel.c |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r 31d0d229c956 -r 8202255f6821 distrib/utils/sysinst/bsddisklabel.c
--- a/distrib/utils/sysinst/bsddisklabel.c      Fri Jan 21 15:50:42 2005 +0000
+++ b/distrib/utils/sysinst/bsddisklabel.c      Fri Jan 21 17:02:40 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: bsddisklabel.c,v 1.32 2005/01/20 21:59:35 dsl Exp $    */
+/*     $NetBSD: bsddisklabel.c,v 1.33 2005/01/21 17:02:40 dsl Exp $    */
 
 /*
  * Copyright 1997 Piermont Information Systems Inc.
@@ -258,6 +258,7 @@
                        if (!pi->ptn_sizes[0].changed) {
                                pi->ptn_sizes[0].size -= p->dflt_size;
                                pi->free_space += p->dflt_size;
+                               pi->ptn_sizes[0].changed = 1;
                        }
                        /* hack to add free space to default sized /usr */
                        if (!strcmp(answer, dflt)) {



Home | Main Index | Thread Index | Old Index