Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10 5/3/83; site utcsrgv.UUCP
Path: utzoo!utcsrgv!thomson
From: thomson@utcsrgv.UUCP (Brian Thomson)
Newsgroups: net.unix-wizards
Subject: Re: Why won"t /etc/swapon work?
Message-ID: <1495@utcsrgv.UUCP>
Date: Thu, 9-Jun-83 13:09:49 EDT
Article-I.D.: utcsrgv.1495
Posted: Thu Jun  9 13:09:49 1983
Date-Received: Thu, 9-Jun-83 15:25:18 EDT
References: <174@gatech.UUCP>
Organization: CSRG, University of Toronto
Lines: 13

Perry Flinn has indeed told you how to add a device to the swap table,
but don't do it unless you meant /dev/hp3b rather than /dev/hp3h.
You'll notice that swaphphp.c also contains an initialized variable
'nswap'.  This is the number of blocks of EACH swap partition that
will be used -- Un*x requires that all swap partitions be of the same
size, and since /dev/hp3h is much much larger than any of the 'b'
partitions you will waste almost 80% of it.

By the way, /etc/swapon doesn't work for /dev/hp0b because, as the
first entry in the swdev table, it is already enabled for swapping.

				Brian Thomson, CSRG Univ. of Toronto
					utcsrgv!thomson