NetBSD-Bugs archive

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

Re: bin/37415: sysinst should be available after installation



The following reply was made to PR bin/37415; it has been noted by GNATS.

From: David Holland <dholland-bugs%netbsd.org@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: bin/37415: sysinst should be available after installation
Date: Mon, 5 Mar 2012 05:37:56 +0000

 On Sun, Mar 04, 2012 at 09:20:05AM +0000, Marc Balmer wrote:
  >>>  If sysinst can be used for something useful _after_ system installation,
  >>>  then we can move it to /usr/sbin or /sbin.
  >>  
  >> There are a number of possible things, such as configuring the
  >> network, or installing sets that one didn't the first time.
  >>  
  >> Or, even, doing a system update, but that is probably not safe the way
  >> things are currently organized.
  >  
  >  What would be a good way to detect whether sysinst is run at
  >  installation time or after installation?  The difference between the two
  >  modes should be the menus.  It would behave differently and offer
  >  different options.
 
 Well... it shouldn't be *that* different.
 
 however, I think the best way to detect if it's being run from install
 media is to have the install media invoke it with some option. An
 ordinary user running it won't provide that option (unless they know
 what they're doing, etc.)
 
 Trying to autodetect it based on the system environment is futile.
 
 -- 
 David A. Holland
 dholland%netbsd.org@localhost
 


Home | Main Index | Thread Index | Old Index