Mark partitions as 'set' when changing the type, otherwise the change

will get lost if you only change the type.
This commit is contained in:
fvdl 1997-12-11 01:36:22 +00:00
parent 9e087acb89
commit 385f01a1ad

View File

@ -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 {