Mark partition as 'set' when changing the type.

This commit is contained in:
fvdl 1997-12-11 02:02:22 +00:00
parent 385f01a1ad
commit 5325d6d716

View File

@ -1,4 +1,4 @@
/* $NetBSD: menus.md.fr,v 1.2 1997/12/05 17:37:45 bouyer Exp $ */
/* $NetBSD: menus.md.fr,v 1.3 1997/12/11 02:02:22 fvdl Exp $ */
/*
* Copyright 1997 Piermont Information Systems Inc.
@ -151,10 +151,26 @@ menu editpart, title " Changement ";
option "Partition OK", exit;
menu chooseid, title " Type de Partition? ";
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 {