[BACK]Return to install.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / distrib / utils / sysinst

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/distrib/utils/sysinst/Attic/install.c between version 1.11 and 1.13.2.1

version 1.11, 1998/05/15 15:12:30 version 1.13.2.1, 1999/04/19 15:19:27
Line 46 
Line 46 
   
 /* Do the system install. */  /* Do the system install. */
   
 void do_install(void)  void
   do_install()
 {  {
         doingwhat = msg_string (MSG_install);          doingwhat = msg_string(MSG_install);
   
         msg_display (MSG_installusure);          msg_display(MSG_installusure);
         process_menu (MENU_noyes);          process_menu(MENU_noyes);
         if (!yesno)          if (!yesno)
                 return;                  return;
   #if 0
           if (!askyesno(0))
                   return;
   #endif
   
         get_ramsize();          get_ramsize();
   
         if (find_disks () < 0)          if (find_disks() < 0)
                 return;                  return;
   
         /* if we need the user to mount root, ask them to. */          /* if we need the user to mount root, ask them to. */
         if (must_mount_root()) {          if (must_mount_root()) {
                 msg_display(MSG_pleasemountroot, diskdev, diskdev, diskdev);                  msg_display(MSG_pleasemountroot, diskdev, diskdev, diskdev);
                 process_menu (MENU_ok);                  process_menu(MENU_ok);
                 return;                  return;
         }          }
   
         if (!md_get_info ()) {          if (!md_get_info()) {
                 msg_display (MSG_abort);                  msg_display(MSG_abort);
                   process_menu(MENU_ok);
                 return;                  return;
         }          }
   
         if (md_make_bsd_partitions () == 0) {          if (md_make_bsd_partitions() == 0) {
                 msg_display(MSG_abort);                  msg_display(MSG_abort);
                   process_menu(MENU_ok);
                 return;                  return;
         }          }
   
         /* Last chance ... do you really want to do this? */          /* Last chance ... do you really want to do this? */
         msg_display (MSG_lastchance);          clear();
         process_menu (MENU_noyes);          refresh();
           msg_display(MSG_lastchance);
           process_menu(MENU_noyes);
         if (!yesno)          if (!yesno)
                 return;                  return;
   
         /* Leave curses so program output looks good. */          if (md_pre_disklabel() != 0)
         endwin ();                  return;
   
         md_pre_disklabel ();  
   
         write_disklabel ();          if (write_disklabel() != 0)
                   return;
   
         md_post_disklabel ();          if (md_post_disklabel() != 0)
                   return;
   
         make_filesystems ();          if (make_filesystems())
                   return;
   
         md_copy_filesystem ();          if (md_copy_filesystem() != 0)
                   return;
   
         make_fstab();          if (make_fstab() != 0)
                   return;
   
         md_post_newfs ();          if (md_post_newfs() != 0)
                   return;
   
         /* Done to here. */          /* Done to here. */
         printf("%s", msg_string(MSG_disksetupdone));          msg_display(MSG_disksetupdone);
   
         getchar();          getchar();
         puts (CL); /* just to make sure */          puts(CL); /* just to make sure */
           wclear(stdscr);
         wrefresh(stdscr);          wrefresh(stdscr);
   
         /* Unpack the distribution. */          /* Unpack the distribution. */

Legend:
Removed from v.1.11  
changed lines
  Added in v.1.13.2.1

CVSweb <webmaster@jp.NetBSD.org>