Source-Changes-HG archive

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

[src/trunk]: src/usr.sbin/sysinst PR 54423: complete initialization of instal...



details:   https://anonhg.NetBSD.org/src/rev/cbb0177aa53e
branches:  trunk
changeset: 458582:cbb0177aa53e
user:      martin <martin%NetBSD.org@localhost>
date:      Thu Aug 01 17:49:12 2019 +0000

description:
PR 54423: complete initialization of install info for user defined partitions

diffstat:

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

diffs (21 lines):

diff -r 570f3ae8b8dc -r cbb0177aa53e usr.sbin/sysinst/bsddisklabel.c
--- a/usr.sbin/sysinst/bsddisklabel.c   Thu Aug 01 16:48:06 2019 +0000
+++ b/usr.sbin/sysinst/bsddisklabel.c   Thu Aug 01 17:49:12 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: bsddisklabel.c,v 1.24 2019/08/01 16:48:06 martin Exp $ */
+/*     $NetBSD: bsddisklabel.c,v 1.25 2019/08/01 17:49:12 martin Exp $ */
 
 /*
  * Copyright 1997 Piermont Information Systems Inc.
@@ -401,8 +401,11 @@
        p += pset->num;
        memset(m, 0, sizeof(*m));
        memset(p, 0, sizeof(*p));
+       p->parts = pset->parts;
        p->cur_part_id = NO_PART;
        p->type = PT_root;
+       p->fs_type = FS_BSDFFS;
+       p->fs_version = 2;
        strncpy(p->mount, new_mp, sizeof(p->mount));
 
        menu->cursel = pset->num;



Home | Main Index | Thread Index | Old Index