Subject: CVS commit: basesrc
To: None <source-changes@netbsd.org>
From: Frank van der Linden <fvdl@netbsd.org>
List: source-changes
Date: 09/27/2000 15:42:06
Module Name:	basesrc
Committed By:	fvdl
Date:		Wed Sep 27 12:42:06 UTC 2000

Modified Files:
	basesrc/distrib/utils/sysinst: defs.h disks.c install.c msg.mi.en
	basesrc/distrib/utils/sysinst/arch/i386: md.c

Log Message:
Move md_enable_swap to disks.c, rename it set_swap, and handle both
enabling and disabling swap. Enabling swap is currently only
done by the i386 port on systems with <= 8M of physical memory.

If a user re-enters the install procedure through the main menu,
and the target disk has an active swap partition, try to disable it,
warning the user that this might lead to 'out of swap' problems,
making a restart necessary. This should not happen very often.

Partly based on comments by Simon Burge.


To generate a diff of this commit:
cvs rdiff -r1.59 -r1.60 basesrc/distrib/utils/sysinst/defs.h
cvs rdiff -r1.31 -r1.32 basesrc/distrib/utils/sysinst/disks.c
cvs rdiff -r1.21 -r1.22 basesrc/distrib/utils/sysinst/install.c
cvs rdiff -r1.69 -r1.70 basesrc/distrib/utils/sysinst/msg.mi.en
cvs rdiff -r1.38 -r1.39 basesrc/distrib/utils/sysinst/arch/i386/md.c

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