allow unsetting of mountpoints in disklabel editor.
partially addresses install/17801.
This commit is contained in:
parent
cb9c117389
commit
f4e0ef0aad
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: menus.mi.en,v 1.58 2002/07/31 12:44:14 grant Exp $ */
|
||||
/* $NetBSD: menus.mi.en,v 1.59 2002/08/02 04:08:47 grant Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright 1997 Piermont Information Systems Inc.
|
||||
@ -179,10 +179,13 @@ menu edfspart, title "Change what?", exit, y=14;
|
||||
};
|
||||
option "Mount point", action
|
||||
{ if (PI_ISBSDFS(&bsdlabel[editpart]) ||
|
||||
bsdlabel[editpart].pi_fstype == FS_MSDOS)
|
||||
msg_prompt_add (MSG_mountpoint, NULL,
|
||||
bsdlabel[editpart].pi_fstype == FS_MSDOS) {
|
||||
msg_prompt_add (MSG_mountpoint,
|
||||
fsmount[editpart],
|
||||
fsmount[editpart], 20);
|
||||
else {
|
||||
if (strcmp(fsmount[editpart], "none") == 0)
|
||||
fsmount[editpart][0] = '\0';
|
||||
} else {
|
||||
msg_display (MSG_nomount, 'a'+editpart);
|
||||
process_menu (MENU_ok);
|
||||
}
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: menus.mi.fr,v 1.38 2002/07/31 12:44:15 grant Exp $ */
|
||||
/* $NetBSD: menus.mi.fr,v 1.39 2002/08/02 04:08:47 grant Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright 1997 Piermont Information Systems Inc.
|
||||
@ -169,10 +169,13 @@ menu edfspart, title "Changer quoi?", exit, y=14;
|
||||
};
|
||||
option "Point de montage", action
|
||||
{ if (PI_ISBSDFS(&bsdlabel[editpart]) ||
|
||||
bsdlabel[editpart].pi_fstype == FS_MSDOS)
|
||||
msg_prompt_add (MSG_mountpoint, NULL,
|
||||
bsdlabel[editpart].pi_fstype == FS_MSDOS) {
|
||||
msg_prompt_add (MSG_mountpoint,
|
||||
fsmount[editpart],
|
||||
fsmount[editpart], 20);
|
||||
else {
|
||||
if (strcmp(fsmount[editpart], "none") == 0)
|
||||
fsmount[editpart][0] = '\0';
|
||||
} else {
|
||||
msg_display (MSG_nomount, 'a'+editpart);
|
||||
process_menu (MENU_ok);
|
||||
}
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: menus.mi.pl,v 1.9 2002/07/31 12:44:15 grant Exp $ */
|
||||
/* $NetBSD: menus.mi.pl,v 1.10 2002/08/02 04:08:47 grant Exp $ */
|
||||
/* Based on english version: */
|
||||
/* NetBSD: menus.mi.en,v 1.49 2002/04/04 14:26:44 ad Exp */
|
||||
|
||||
@ -181,10 +181,13 @@ menu edfspart, title "Co zmienic?", exit, y=14;
|
||||
};
|
||||
option "Punkt montazu", action
|
||||
{ if (PI_ISBSDFS(&bsdlabel[editpart]) ||
|
||||
bsdlabel[editpart].pi_fstype == FS_MSDOS)
|
||||
msg_prompt_add (MSG_mountpoint, NULL,
|
||||
bsdlabel[editpart].pi_fstype == FS_MSDOS) {
|
||||
msg_prompt_add (MSG_mountpoint,
|
||||
fsmount[editpart],
|
||||
fsmount[editpart], 20);
|
||||
else {
|
||||
if (strcmp(fsmount[editpart], "none") == 0)
|
||||
fsmount[editpart][0] = '\0';
|
||||
} else {
|
||||
msg_display (MSG_nomount, 'a'+editpart);
|
||||
process_menu (MENU_ok);
|
||||
}
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: msg.mi.en,v 1.90 2002/07/29 03:05:16 grant Exp $ */
|
||||
/* $NetBSD: msg.mi.en,v 1.91 2002/08/02 04:08:47 grant Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright 1997 Piermont Information Systems Inc.
|
||||
@ -168,7 +168,7 @@ message fsize
|
||||
{frag size}
|
||||
|
||||
message mountpoint
|
||||
{mount point}
|
||||
{mount point (or 'none')}
|
||||
|
||||
message cylname
|
||||
{cyl}
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: msg.mi.fr,v 1.43 2002/03/29 01:03:15 shin Exp $ */
|
||||
/* $NetBSD: msg.mi.fr,v 1.44 2002/08/02 04:08:48 grant Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright 1997 Piermont Information Systems Inc.
|
||||
@ -168,7 +168,7 @@ message fsize
|
||||
{taille de fragment}
|
||||
|
||||
message mountpoint
|
||||
{point de montage}
|
||||
{point de montage (or 'none')}
|
||||
|
||||
message cylname
|
||||
{cyl}
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: msg.mi.pl,v 1.9 2002/06/02 15:05:25 zuntum Exp $ */
|
||||
/* $NetBSD: msg.mi.pl,v 1.10 2002/08/02 04:08:48 grant Exp $ */
|
||||
/* Based on english version: */
|
||||
/* NetBSD: msg.mi.en,v 1.86 2002/04/04 14:26:44 ad Exp */
|
||||
|
||||
@ -170,7 +170,7 @@ message fsize
|
||||
{rozmiar frag}
|
||||
|
||||
message mountpoint
|
||||
{mountpoint}
|
||||
{mount point (or 'none')}
|
||||
|
||||
message cylname
|
||||
{cyl}
|
||||
|
Loading…
Reference in New Issue
Block a user