Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-1-6]: src/distrib/utils/sysinst Pull up revision 1.59 (requested ...



details:   https://anonhg.NetBSD.org/src/rev/c70b0a0639ff
branches:  netbsd-1-6
changeset: 529157:c70b0a0639ff
user:      lukem <lukem%NetBSD.org@localhost>
date:      Sun Oct 13 23:20:14 2002 +0000

description:
Pull up revision 1.59 (requested by grant in ticket #865):
allow unsetting of mountpoints in disklabel editor.
partially addresses install/17801.

diffstat:

 distrib/utils/sysinst/menus.mi.en |  11 +++++++----
 1 files changed, 7 insertions(+), 4 deletions(-)

diffs (26 lines):

diff -r 302f7e904cb9 -r c70b0a0639ff distrib/utils/sysinst/menus.mi.en
--- a/distrib/utils/sysinst/menus.mi.en Sun Oct 13 23:19:59 2002 +0000
+++ b/distrib/utils/sysinst/menus.mi.en Sun Oct 13 23:20:14 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: menus.mi.en,v 1.51.2.7 2002/10/13 23:04:46 lukem Exp $ */
+/*     $NetBSD: menus.mi.en,v 1.51.2.8 2002/10/13 23:20:14 lukem Exp $ */
 
 /*
  * Copyright 1997 Piermont Information Systems Inc.
@@ -185,10 +185,13 @@
                };
        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);
                        }



Home | Main Index | Thread Index | Old Index