Why won"t /etc/swapon work?

perry at gatech.UUCP perry at gatech.UUCP
Sat Jun 4 06:06:50 AEST 1983


Check the file /sys/dev/swaphphp.c. In it you should see the following:

	struct	swdevt swdevt[] =
	{
		makedev(0, 1),	0,		/* hp0b */
		makedev(0, 9),	0,		/* hp1b */
		0,		0,
	};

Before you can enable swapping on a partition, its device number must
be in this table.  Add the following line after the entry for hp1b and
remake vmunix:

		makedev(0, 31),	0,		/* hp3h */


Perry Flinn
allegra!gatech!perry (uucp)
perry.gatech at udel-relay (csnet/internet)



More information about the Comp.unix.wizards mailing list