From owner-freebsd-current@FreeBSD.ORG Wed Mar 24 11:41:44 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 96B4516A4CE for ; Wed, 24 Mar 2004 11:41:44 -0800 (PST) Received: from mailhub.fokus.fraunhofer.de (mailhub.fokus.fraunhofer.de [193.174.154.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id A801243D45 for ; Wed, 24 Mar 2004 11:41:43 -0800 (PST) (envelope-from brandt@fokus.fraunhofer.de) Received: from beagle (beagle [193.175.132.100])i2OJfeJ10612; Wed, 24 Mar 2004 20:41:40 +0100 (MET) Date: Wed, 24 Mar 2004 20:41:40 +0100 (CET) From: Harti Brandt To: Brooks Davis In-Reply-To: <20040324184408.GA16912@Odin.AC.HMC.Edu> Message-ID: <20040324203959.W64878@beagle.fokus.fraunhofer.de> References: <20040324183415.X64321@beagle.fokus.fraunhofer.de> <20040324184408.GA16912@Odin.AC.HMC.Edu> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: current@freebsd.org Subject: Re: diskless, swap and DHCP X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: harti@freebsd.org List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Mar 2004 19:41:44 -0000 X-List-Received-Date: Wed, 24 Mar 2004 19:41:44 -0000 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