From owner-cvs-all Sat Mar 14 10:01:22 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA12343 for cvs-all-outgoing; Sat, 14 Mar 1998 10:01:22 -0800 (PST) (envelope-from owner-cvs-all@FreeBSD.ORG) Received: from sasami.jurai.net (winter@sasami.jurai.net [207.153.65.3] (may be forged)) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id KAA12333 for ; Sat, 14 Mar 1998 10:01:19 -0800 (PST) (envelope-from winter@jurai.net) Received: from localhost (winter@localhost) by sasami.jurai.net (8.8.8/8.8.7) with SMTP id MAA18181; Sat, 14 Mar 1998 12:59:02 -0500 (EST) Date: Sat, 14 Mar 1998 12:59:02 -0500 (EST) From: "Matthew N. Dodd" To: Poul-Henning Kamp cc: Tor Egge , cvs-committers@FreeBSD.ORG Subject: Re: cvs commit: src/sys/conf options src/sys/i386/conf LINT src/sys/nfs bootp_subr.c In-Reply-To: <14602.889896809@critter.freebsd.dk> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk You know, it sounds like this stuff would be happier living in the bootstrap. Passing all the info into the kernel is the way to go... On Sat, 14 Mar 1998, Poul-Henning Kamp wrote: > In message <199803141707.SAA19171@pat.idi.ntnu.no>, Tor Egge writes: > >> Wouldn't a more generic (and useful) solution be to send out bootp > >> requests from all interfaces and use the first reply? Hardcoding each > >> kernel in a multiplatform enviornment would be a major PITA. > > > >Yes. A general solution should > > > > - First send DHCP queries on all interfaces > > > > - Fall back to accepting BOOTP answers on interfaces where no > > DHCP answer was received > > > > - Fall back to RARP queries on interfaces where no answer was received > > > > - If no location for the root directory was specified in any > > BOOTP/DHCP answer but RARP was used to specify an interface > > address, the kernel should consult the bootparam daemon on the > > machine giving the RARP reply. > > - And failing that, broadcast a bootparamd request on all interfaces. > > > -- > Poul-Henning Kamp FreeBSD coreteam member > phk@FreeBSD.ORG "Real hackers run -current on their laptop." > "Drink MONO-tonic, it goes down but it will NEVER come back up!" > /* Matthew N. Dodd | A memory retaining a love you had for life winter@jurai.net | As cruel as it seems nothing ever seems to http://www.jurai.net/~winter | go right - FLA M 3.1:53 */ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message