From owner-freebsd-stable@FreeBSD.ORG Sat Feb 7 01:36:33 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C923C16A4CF for ; Sat, 7 Feb 2004 01:36:33 -0800 (PST) Received: from smtp.infracaninophile.co.uk (ns0.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id 189FB43D1F for ; Sat, 7 Feb 2004 01:36:33 -0800 (PST) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost.infracaninophile.co.uk [IPv6:::1])i179aR9D020531 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 7 Feb 2004 09:36:27 GMT (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost)id i179aRrw020441; Sat, 7 Feb 2004 09:36:27 GMT (envelope-from matthew) Date: Sat, 7 Feb 2004 09:36:27 +0000 From: Matthew Seaman To: Rob Message-ID: <20040207093627.GB7043@happy-idiot-talk.infracaninophile.co.uk> Mail-Followup-To: Rob , freebsd-stable@freebsd.org References: <40241A9C.5020900@users.sourceforge.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Bn2rw/3z4jIqBvZU" Content-Disposition: inline In-Reply-To: <40241A9C.5020900@users.sourceforge.net> User-Agent: Mutt/1.5.6i X-Spam-Status: No, hits=-4.9 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on happy-idiot-talk.infracaninophile.co.uk cc: freebsd-stable@freebsd.org Subject: Re: bug in bootpd for FBSD-stable ? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Feb 2004 09:36:33 -0000 --Bn2rw/3z4jIqBvZU Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Feb 07, 2004 at 07:52:12AM +0900, Rob wrote: Please don't send the same message to the list over and over again: if someone knows the answer they will reply. > I'm using bootpd, to boot diskless PC. >=20 > According to handbook and many other resources, adding swap to a diskless= PC > can work with T128 and T129 options in /etc/bootptab file. >=20 > So that's what I tried: >=20 > ----------------------------------------------- > .default:\ > hn:ht=3D1:vm=3Drfc1048:\ > sm=3D255.255.255.0:\ > sa=3D147.46.44.181:\ > gw=3D147.46.44.1:\ > hd=3D"":\ > bf=3D"kernel":\ > T128=3D"147.46.44.181:/home":\ > T129=3D64000:\ > rp=3D"147.46.44.181:/tftpboot": >=20 > diskless:\ > ha=3D0050fce9306f:\ > tc=3D.default: > ----------------------------------------------- Read the man page more closely, and consult termcap(5) for the general syntax. One obscure requirement is: (from termcap(5)) If it is necessary to place a : in a capability it must be escaped as = \: or be encoded as \072. =20 You're also missing a number of other colons out of your bootptab: .default:\ :hn:ht=3D1:vm=3Drfc1048:\ :sm=3D255.255.255.0:\ :sa=3D147.46.44.181:\ :gw=3D147.46.44.1:\ :hd=3D"":\ :bf=3D"kernel":\ :T128=3D"147.46.44.181\072/home":\ :T129=3D64000:\ :rp=3D"147.46.44.181\072/tftpboot": =20 diskless:\ :ha=3D0050fce9306f:\ :tc=3D.default: Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK --Bn2rw/3z4jIqBvZU Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFAJLGbdtESqEQa7a0RAnJDAJ4rUeEnG4lGZe4tDkrOmROvbV98QgCdEPxh 957rPNaw89GPeZGRSGIW9sM= =+mCx -----END PGP SIGNATURE----- --Bn2rw/3z4jIqBvZU--