On Thu, Oct 22, 2009 at 03:34:45AM -0400, Daniel Malament wrote: > On 10/22/2009 2:41 AM, Theo de Raadt wrote: > >>There used to be a message before the install script wiped out > >>filesystems with newfs, listing the partitions and asking if you > >>were sure. Was this removed, or did I somehow miss something? > >>And WHY??? > > > >Because it is the install script. > > > >What did you think it was going to do. > > > >It's installing. It's job is to wipe disks. There is no need for > >stupid questions. > > Ah, the sarcasm I was expecting. And here I thought I remembered > the new installer being described as easier to use. (Or did I make > that last part up? Seems the same from a user perspective, just in > a different order. Not that I had a problem with the ease of use > either way, other than this.) > > In fact, there was a particular reason for my question. I had the > vague impression, probably erroneous, I suppose, that it was > possible to get the old install script to only newfs those systems > for which you specified a mount point. I was attempting to check > that in the anticipation that the script was actually going to tell > me what it was going to do. Granted, I probably should have tested > it in a more careful way, but at least the only real damage was to > cause a certain amount of aggravation. > > So assuming that the install script can't do what I was expecting, > is there some other way to do a fresh install to only one/some > partitions on a drive, or are the choices only a) blow the whole > drive away b) install to a clean disk or c) do an upgrade? > > P.S. I look forward to experiencing the usual wonderful work of the > OpenBSD team once I finish cleaning up this mess...
The same mechanism to avoid newfs'ing a filesystem is in the new install script. i.e. use (C)ustom disk configuration and do not specify a mount point for the partition(s) you do not want newfs'ed. Asking the question was superfluous since it made no sense if you chose 'auto' and if you chose 'custom' you were taking full control yourself. i.e. at the prompt Use (A)uto layout, (E)dit auto layout, or create (C)ustom layout? [a] just choose (C)ustom and away you go. .... Ken