Subject: bin/14433: /etc/rc.d/swap1 and raidframe
To: None <gnats-bugs@gnats.netbsd.org>
From: None <martti.kuparinen@iki.fi>
List: netbsd-bugs
Date: 11/02/2001 09:43:25
>Number:         14433
>Category:       bin
>Synopsis:       /etc/rc.d/swap1 and raidframe
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    bin-bug-people
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Fri Nov 02 01:52:01 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     Martti Kuparinen
>Release:        1.5.2
>Organization:
>Environment:

NetBSD dhcp118 1.5.2 NetBSD 1.5.2 (KAYAK) #0: Wed Oct  3 11:34:19 PDT 2001     root@dhcp118:/usr/src/sys/arch/i386/compile/KAYAK i386

Architecture: i386
Machine: i386

>Description:

Using swap from raidframe is painful without this small patch.
To make things work better unconfigure swap before shutdown so that the
parity don't have to be rebuilt after every reboot.

We might want to have this in the netbsd-1-5 branch as well!

>How-To-Repeat:
>Fix:

Index: swap1
===================================================================
RCS file: /cvsroot/basesrc/etc/rc.d/swap1,v
retrieving revision 1.6
diff -u -r1.6 swap1
--- swap1	2001/04/13 22:31:16	1.6
+++ swap1	2001/11/02 09:33:02
@@ -5,6 +5,7 @@
 
 # PROVIDE: localswap
 # REQUIRE: disks
+# KEYWORD: shutdown
 
 . /etc/rc.subr
 
>Release-Note:
>Audit-Trail:
>Unformatted: