Subject: Re: kernel compile..
To: None <port-pmax@NetBSD.ORG>
From: Toru Nishimura <email@example.com>
Date: 01/06/1998 09:31:46
>> My config line in the KRISTALL file looks like this:
>> config netbsd root on rz2a swap on rz2b
>> If I remove everything after rz2a so the line looks like this:
>> config netbsd root on rz2a
>> then it builds the compile directory and I can build the kernel.
And, make sure to have swap description in /etc/fstab like this;
/dev/rz2b swap swap sw 0 0
If not, your kernel will run swapless.
During UNIX evolution swap space has been handled in magical way.
Swap description was built inside kernel image and there was no real
life need to have swap space infomation in /etc/fstab. This prevented
to have generic kernel good for any combination of root filesystem and
NetBSD now has flexible configuration mech. for root filesystem and
swap space. Even root filesystem can be 'wildcard'ed like;
config netbsd root on ? type ?
The kernel will determine automagically which disk contains root
filesystem. Designation of swap space is done on multiuser
transition, not kernel building parameter any more. See swapctl(8)
man page for details.
Nara Institute of Science and Technology