Why won"t /etc/swapon work?

Brian Thomson thomson at utcsrgv.UUCP
Fri Jun 10 03:09:49 AEST 1983


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



More information about the Comp.unix.wizards mailing list