Re: diskless, swap and DHCP

From: Harti Brandt <brandt_at_fokus.fraunhofer.de>
Date: Wed, 24 Mar 2004 20:41:40 +0100 (CET)
On Wed, 24 Mar 2004, Brooks Davis wrote:

BD>On Wed, Mar 24, 2004 at 06:38:48PM +0100, Harti Brandt wrote:
BD>>
BD>> I'm trying to get an Ultra-1 to run diskless. So far most if the stuff
BD>> works, I have however problems to set up swapping over NFS. There is a
BD>> section in the handbook about this and I followed the instructions there
BD>> without much faith in that it will work. And, yep, it doesn't. I have
BD>> poked around in the sources and found no places, where the additional
BD>> DHCP options for the swap file and size are parsed. So, how is that
BD>> supposed to work?
BD>
BD>I don't think we support the DHCP swap options.  It looks like what you
BD>want to do is use the swapfile option in rc.conf to add a swapfile on a
BD>drive you are NFS mounting RW.

Oh, thanks. I was in the -stable section of the handbook. With swapfile
it works now.

BD>> Also I wonder about the kenv variables dhcp.host-name and
BD>> dhcp.domain-name-servers. There seems to be no places in the source where
BD>> they will ever be set. So, again, how is that supposed to work?
BD>
BD>I'm not seeing any of the dhcp.* names space on my diskless machines.
BD>The hostname gets set if options BOOTP is in the kernel but that's done
BD>directly in code in sys/nfsclient/.

I was wondering why they are in /etc/rc.d/diskless?

harti
Received on Wed Mar 24 2004 - 10:41:44 UTC

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