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.39 (requested ...



details:   https://anonhg.NetBSD.org/src/rev/49a099b45508
branches:  netbsd-1-6
changeset: 529155:49a099b45508
user:      lukem <lukem%NetBSD.org@localhost>
date:      Sun Oct 13 23:19:49 2002 +0000

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

diffstat:

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

diffs (26 lines):

diff -r 3fa5040041e8 -r 49a099b45508 distrib/utils/sysinst/menus.mi.fr
--- a/distrib/utils/sysinst/menus.mi.fr Sun Oct 13 23:19:42 2002 +0000
+++ b/distrib/utils/sysinst/menus.mi.fr Sun Oct 13 23:19:49 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: menus.mi.fr,v 1.35.2.3 2002/10/13 23:05:02 lukem Exp $ */
+/*     $NetBSD: menus.mi.fr,v 1.35.2.4 2002/10/13 23:19:49 lukem Exp $ */
 
 /*
  * Copyright 1997 Piermont Information Systems Inc.
@@ -175,10 +175,13 @@
                };
        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);
                        }



Home | Main Index | Thread Index | Old Index