From 385f01a1ad940e05d1f6b07b6872e0caa30eb2e6 Mon Sep 17 00:00:00 2001 From: fvdl Date: Thu, 11 Dec 1997 01:36:22 +0000 Subject: [PATCH] Mark partitions as 'set' when changing the type, otherwise the change will get lost if you only change the type. --- distrib/utils/sysinst/arch/i386/menus.md.eng | 26 ++++++++++++++++---- 1 file changed, 21 insertions(+), 5 deletions(-) diff --git a/distrib/utils/sysinst/arch/i386/menus.md.eng b/distrib/utils/sysinst/arch/i386/menus.md.eng index 97e4945160da..a9c1f20ce7bc 100644 --- a/distrib/utils/sysinst/arch/i386/menus.md.eng +++ b/distrib/utils/sysinst/arch/i386/menus.md.eng @@ -1,4 +1,4 @@ -/* $NetBSD: menus.md.eng,v 1.9 1997/11/29 21:49:16 fvdl Exp $ */ +/* $NetBSD: menus.md.eng,v 1.10 1997/12/11 01:36:22 fvdl Exp $ */ /* * Copyright 1997 Piermont Information Systems Inc. @@ -149,10 +149,26 @@ menu editpart, title " Select to change"; option "Partition OK", exit; menu chooseid, title " Partition Kind? "; - option "NetBSD", exit, action { part[editpart][ID] = 165; }; - option "DOS < 32 Meg", exit, action { part[editpart][ID] = 4; }; - option "DOS > 32 Meg", exit, action { part[editpart][ID] = 6; }; - option "unused", exit, action { part[editpart][ID] = 0; }; + option "NetBSD", exit, action + { + part[editpart][ID] = 165; + part[editpart][SET] = 1; + }; + option "DOS < 32 Meg", exit, action + { + part[editpart][ID] = 4; + part[editpart][SET] = 1; + }; + option "DOS > 32 Meg", exit, action + { + part[editpart][ID] = 6; + part[editpart][SET] = 1; + }; + option "unused", exit, action + { + part[editpart][ID] = 0; + part[editpart][SET] = 1; + }; menu editfsparts, y=13, exit; display action {