Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Mar 2004 20:41:40 +0100 (CET)
From:      Harti Brandt <brandt@fokus.fraunhofer.de>
To:        Brooks Davis <brooks@one-eyed-alien.net>
Cc:        current@freebsd.org
Subject:   Re: diskless, swap and DHCP
Message-ID:  <20040324203959.W64878@beagle.fokus.fraunhofer.de>
In-Reply-To: <20040324184408.GA16912@Odin.AC.HMC.Edu>
References:  <20040324183415.X64321@beagle.fokus.fraunhofer.de> <20040324184408.GA16912@Odin.AC.HMC.Edu>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040324203959.W64878>