Subject: sysinst changes.
To: None <tech-install@netbsd.org>
From: matthew green <mrg@eterna.com.au>
List: tech-install
Date: 01/14/2001 13:41:27
hi folks.


i've just commited a bunch of changes to sysinst.  the log message for the
commit best explains all the changes:


extend sysinst disk handling, some general clean ups, better /etc support
and some sparc64 fixes.  details:

- new scripting_{,v}fprintf() that also write to the script log (if open).
- support of creation of LFS filesystems
- standard installs now allow one to choose which file systems to create,
out of the list of /usr, /var, /home, MFS /tmp, and swap.  a / is always
created, but the rest all optional. [*]
- new disklabel method: use existing.  this requires one to fill in the
mount points (and having at least a "/" is enforced).
- preservation of existing filesystems (at install) is supported.
- rewrote most of make_fstab(): the entire thing is generated from the
bsdlabel now, rather than hard coding / to 'a' and swap to 'b'.  create
MFS /tmp if requested.
- if IPv6 support isn't present, don't display any ipv6 messages.
- better rc.conf support
- sparc & sparc64 default to "cylinders" now.
- choosing "standard" instead of "standard with X" de-selects the X pkgs
by default.
- sparc64: don't install bootblocks until we have a complete system, avoids
booting with no /dev/console.
- sparc64: bump STDNEEDMB, it is way low.


[*] i have added default values for DEFVARSIZE & DEFUSRSIZE (this is used
only if /usr and /home are selected) to each port, based on STDNEEDMB.  as
such, my guesses might be wrong so port maintainers should look at these.

-- 


i have tested these on sparc64 & i386, though i386 doesn't use most of the
new disk handling code.  that is only used by pmax, sparc, sparc64, x68k
and vax people currently, but should easily be usable as soon as people
begin to use sysinst/bsddisklabel.c in their arch/foo/md.c files.


please report any problems you see related to these via send-pr(1) as
usual!  thanks.


.mrg.