John Hay writes:
| > > the dhcp.xxx stuff is easy, the problem is that the DHCP options are not
| > > enough, so im trying to look into defining a FBSDclass ala PXEClient, and
| > > supplying stuff like usr-ip/usr-path swap-ip/swap-path or whatever.
| >
| > You don't need those; you can get them out of /etc/fstab. In particular,
| > the whole idea of passing the NFS swap details in at this stage is just
| > *totally* bogus.
|
| How do you specify nfs swap in the fstab file? I have been trying the
You don't, it is done via the bootp or dhcp record option 128 for example
option option-128 "192.168.2.254:/usr/work/netboot";
You then have to make the swap file in that directory of format
swap.<IP of client>
Use dd to create the file by copying /dev/zero for the size you want.
Note during boot up the kernel will tell you what it is using for
swap via this request.
Doug A.
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message