Re: diskless, swap and DHCP

From: Brooks Davis <brooks_at_one-eyed-alien.net>
Date: Wed, 24 Mar 2004 10:44:08 -0800
On Wed, Mar 24, 2004 at 06:38:48PM +0100, Harti Brandt wrote:
> 
> I'm trying to get an Ultra-1 to run diskless. So far most if the stuff
> works, I have however problems to set up swapping over NFS. There is a
> section in the handbook about this and I followed the instructions there
> without much faith in that it will work. And, yep, it doesn't. I have
> poked around in the sources and found no places, where the additional
> DHCP options for the swap file and size are parsed. So, how is that
> supposed to work?

I don't think we support the DHCP swap options.  It looks like what you
want to do is use the swapfile option in rc.conf to add a swapfile on a
drive you are NFS mounting RW.

> Also I wonder about the kenv variables dhcp.host-name and
> dhcp.domain-name-servers. There seems to be no places in the source where
> they will ever be set. So, again, how is that supposed to work?

I'm not seeing any of the dhcp.* names space on my diskless machines.
The hostname gets set if options BOOTP is in the kernel but that's done
directly in code in sys/nfsclient/.

-- Brooks

-- 
Any statement of the form "X is the one, true Y" is FALSE.
PGP fingerprint 655D 519C 26A7 82E7 2529  9BF0 5D8E 8BE9 F238 1AD4

Received on Wed Mar 24 2004 - 09:44:19 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:48 UTC