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/9527b41334ff
branches:  trunk
changeset: 964439:9527b41334ff
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 8588e7dfdf0d -r 9527b41334ff 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