From owner-freebsd-current@FreeBSD.ORG Wed Mar 24 10:44:19 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 1BCF916A4CE for ; Wed, 24 Mar 2004 10:44:19 -0800 (PST) Received: from odin.ac.hmc.edu (Odin.AC.HMC.Edu [134.173.32.75]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0498343D48 for ; Wed, 24 Mar 2004 10:44:19 -0800 (PST) (envelope-from brdavis@odin.ac.hmc.edu) Received: from odin.ac.hmc.edu (IDENT:brdavis@localhost.localdomain [127.0.0.1]) by odin.ac.hmc.edu (8.12.10/8.12.3) with ESMTP id i2OIi9Za020355; Wed, 24 Mar 2004 10:44:09 -0800 Received: (from brdavis@localhost) by odin.ac.hmc.edu (8.12.10/8.12.3/Submit) id i2OIi8jX020354; Wed, 24 Mar 2004 10:44:08 -0800 Date: Wed, 24 Mar 2004 10:44:08 -0800 From: Brooks Davis To: Harti Brandt Message-ID: <20040324184408.GA16912@Odin.AC.HMC.Edu> References: <20040324183415.X64321@beagle.fokus.fraunhofer.de> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="n8g4imXOkfNTN/H1" Content-Disposition: inline In-Reply-To: <20040324183415.X64321@beagle.fokus.fraunhofer.de> User-Agent: Mutt/1.5.4i X-Virus-Scanned: by amavisd-milter (http://amavis.org/) on odin.ac.hmc.edu cc: current@freebsd.org Subject: Re: diskless, swap and DHCP X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list 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 18:44:19 -0000 --n8g4imXOkfNTN/H1 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Mar 24, 2004 at 06:38:48PM +0100, Harti Brandt wrote: >=20 > 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 --=20 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 --n8g4imXOkfNTN/H1 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQFAYdb3XY6L6fI4GtQRAjOPAKCR8yVgQGvipWcxkq/WFGiBxX0zugCfXaT5 3oCntcpT8m9Smw57pLAFzcY= =akVk -----END PGP SIGNATURE----- --n8g4imXOkfNTN/H1--