Subject: CVS commit: basesrc
To: None <source-changes@netbsd.org>
From: matthew green <mrg@netbsd.org>
List: source-changes
Date: 01/14/2001 04:38:24
Module Name:	basesrc
Committed By:	mrg
Date:		Sun Jan 14 02:38:23 UTC 2001

Modified Files:
	basesrc/distrib/utils/sysinst: bsddisklabel.c defs.h disks.c geom.c
	    label.c menus.mi.en menus.mi.fr msg.mi.en msg.mi.fr net.c run.c
	    target.c upgrade.c util.c
	basesrc/distrib/utils/sysinst/arch/alpha: Makefile md.c
	basesrc/distrib/utils/sysinst/arch/amiga: Makefile md.c
	basesrc/distrib/utils/sysinst/arch/arm32: Makefile md.c
	basesrc/distrib/utils/sysinst/arch/bebox: Makefile md.c
	basesrc/distrib/utils/sysinst/arch/hpcmips: Makefile md.c
	basesrc/distrib/utils/sysinst/arch/i386: Makefile md.c
	basesrc/distrib/utils/sysinst/arch/mac68k: Makefile md.c
	basesrc/distrib/utils/sysinst/arch/macppc: Makefile md.c
	basesrc/distrib/utils/sysinst/arch/news68k: Makefile md.c
	basesrc/distrib/utils/sysinst/arch/pc532: Makefile md.c
	basesrc/distrib/utils/sysinst/arch/pmax: Makefile md.c md.h
	basesrc/distrib/utils/sysinst/arch/sparc: Makefile md.c md.h
	basesrc/distrib/utils/sysinst/arch/sparc64: Makefile md.c md.h
	basesrc/distrib/utils/sysinst/arch/vax: Makefile md.c md.h
	basesrc/distrib/utils/sysinst/arch/x68k: Makefile md.c md.h
Added Files:
	basesrc/distrib/utils/sysinst: disks_lfs.c

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -r1.3 -r1.4 basesrc/distrib/utils/sysinst/bsddisklabel.c \
    basesrc/distrib/utils/sysinst/geom.c
cvs rdiff -r1.64 -r1.65 basesrc/distrib/utils/sysinst/defs.h
cvs rdiff -r1.39 -r1.40 basesrc/distrib/utils/sysinst/disks.c \
    basesrc/distrib/utils/sysinst/msg.mi.fr
cvs rdiff -r0 -r1.1 basesrc/distrib/utils/sysinst/disks_lfs.c
cvs rdiff -r1.18 -r1.19 basesrc/distrib/utils/sysinst/label.c
cvs rdiff -r1.44 -r1.45 basesrc/distrib/utils/sysinst/menus.mi.en
cvs rdiff -r1.30 -r1.31 basesrc/distrib/utils/sysinst/menus.mi.fr \
    basesrc/distrib/utils/sysinst/target.c \
    basesrc/distrib/utils/sysinst/upgrade.c
cvs rdiff -r1.79 -r1.80 basesrc/distrib/utils/sysinst/msg.mi.en
cvs rdiff -r1.69 -r1.70 basesrc/distrib/utils/sysinst/net.c
cvs rdiff -r1.33 -r1.34 basesrc/distrib/utils/sysinst/run.c
cvs rdiff -r1.63 -r1.64 basesrc/distrib/utils/sysinst/util.c
cvs rdiff -r1.1 -r1.2 basesrc/distrib/utils/sysinst/arch/alpha/Makefile
cvs rdiff -r1.25 -r1.26 basesrc/distrib/utils/sysinst/arch/alpha/md.c
cvs rdiff -r1.1 -r1.2 basesrc/distrib/utils/sysinst/arch/amiga/Makefile
cvs rdiff -r1.7 -r1.8 basesrc/distrib/utils/sysinst/arch/amiga/md.c
cvs rdiff -r1.2 -r1.3 basesrc/distrib/utils/sysinst/arch/arm32/Makefile
cvs rdiff -r1.29 -r1.30 basesrc/distrib/utils/sysinst/arch/arm32/md.c
cvs rdiff -r1.2 -r1.3 basesrc/distrib/utils/sysinst/arch/bebox/Makefile
cvs rdiff -r1.21 -r1.22 basesrc/distrib/utils/sysinst/arch/bebox/md.c
cvs rdiff -r1.4 -r1.5 basesrc/distrib/utils/sysinst/arch/hpcmips/Makefile
cvs rdiff -r1.11 -r1.12 basesrc/distrib/utils/sysinst/arch/hpcmips/md.c
cvs rdiff -r1.8 -r1.9 basesrc/distrib/utils/sysinst/arch/i386/Makefile
cvs rdiff -r1.52 -r1.53 basesrc/distrib/utils/sysinst/arch/i386/md.c
cvs rdiff -r1.1 -r1.2 basesrc/distrib/utils/sysinst/arch/mac68k/Makefile
cvs rdiff -r1.18 -r1.19 basesrc/distrib/utils/sysinst/arch/mac68k/md.c
cvs rdiff -r1.1 -r1.2 basesrc/distrib/utils/sysinst/arch/macppc/Makefile
cvs rdiff -r1.20 -r1.21 basesrc/distrib/utils/sysinst/arch/macppc/md.c
cvs rdiff -r1.1 -r1.2 basesrc/distrib/utils/sysinst/arch/news68k/Makefile
cvs rdiff -r1.8 -r1.9 basesrc/distrib/utils/sysinst/arch/news68k/md.c
cvs rdiff -r1.6 -r1.7 basesrc/distrib/utils/sysinst/arch/pc532/Makefile
cvs rdiff -r1.21 -r1.22 basesrc/distrib/utils/sysinst/arch/pc532/md.c
cvs rdiff -r1.3 -r1.4 basesrc/distrib/utils/sysinst/arch/pmax/Makefile
cvs rdiff -r1.45 -r1.46 basesrc/distrib/utils/sysinst/arch/pmax/md.c
cvs rdiff -r1.17 -r1.18 basesrc/distrib/utils/sysinst/arch/pmax/md.h
cvs rdiff -r1.1 -r1.2 basesrc/distrib/utils/sysinst/arch/sparc/Makefile
cvs rdiff -r1.26 -r1.27 basesrc/distrib/utils/sysinst/arch/sparc/md.c
cvs rdiff -r1.7 -r1.8 basesrc/distrib/utils/sysinst/arch/sparc/md.h
cvs rdiff -r1.1 -r1.2 basesrc/distrib/utils/sysinst/arch/sparc64/Makefile
cvs rdiff -r1.7 -r1.8 basesrc/distrib/utils/sysinst/arch/sparc64/md.c
cvs rdiff -r1.2 -r1.3 basesrc/distrib/utils/sysinst/arch/sparc64/md.h
cvs rdiff -r1.1 -r1.2 basesrc/distrib/utils/sysinst/arch/vax/Makefile
cvs rdiff -r1.16 -r1.17 basesrc/distrib/utils/sysinst/arch/vax/md.c
cvs rdiff -r1.6 -r1.7 basesrc/distrib/utils/sysinst/arch/vax/md.h
cvs rdiff -r1.2 -r1.3 basesrc/distrib/utils/sysinst/arch/x68k/Makefile
cvs rdiff -r1.15 -r1.16 basesrc/distrib/utils/sysinst/arch/x68k/md.c
cvs rdiff -r1.5 -r1.6 basesrc/distrib/utils/sysinst/arch/x68k/md.h

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