From owner-freebsd-current Tue Nov 2 21:47:48 1999 Delivered-To: freebsd-current@freebsd.org Received: from dingo.cdrom.com (castles558.castles.com [208.214.165.122]) by hub.freebsd.org (Postfix) with ESMTP id 9605814E96 for ; Tue, 2 Nov 1999 21:47:39 -0800 (PST) (envelope-from mike@dingo.cdrom.com) Received: from dingo.cdrom.com (localhost [127.0.0.1]) by dingo.cdrom.com (8.9.3/8.8.8) with ESMTP id VAA02485 for ; Tue, 2 Nov 1999 21:38:57 -0800 (PST) (envelope-from mike@dingo.cdrom.com) Message-Id: <199911030538.VAA02485@dingo.cdrom.com> X-Mailer: exmh version 2.0.2 2/24/98 To: current@FreeBSD.ORG Subject: Re: GENERIC build broken In-reply-to: Your message of "Tue, 02 Nov 1999 21:39:47 PST." <199911030539.VAA55014@apollo.backplane.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 02 Nov 1999 21:38:54 -0800 From: Mike Smith Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > :> Huh? And replace it with what? BOOTP is the only way to get an NFS > :> root and swap. > : > :No; that's what the loader is for. The kernel shouldn't be doing any > :application-level snot like BOOTP at all. > : > :The same work was previously done by netboot; putting bootp into the > :kernel was _always_ the wrong idea. > > Great in theory, but unless someone is actually willing to do the > great deal of work required to support this we're stuck with BOOTP > in the kernel. Er, hello? It's _already_been_done_, even. See above inre: netboot. > Even if you were to do this most of the junk in the > kernel to actually do the mounts would have to stick around. Frankly, > I don't think it's such a big deal to leave it in the kernel, you > wouldn't actually be cleaning much up by moving it out. It's pointless duplicating it in the kernel when the code that's loaded the kernel has already done it. Nuking it from the kernel has several benefits: - the bootp code in the kernel has rotted, and is quite ugly. - it removes one more confusing option. - it's redundant. The code for performing the actual NFS root mount is tiny compared to the bootp and ifconfig code. -- \\ Give a man a fish, and you feed him for a day. \\ Mike Smith \\ Tell him he should learn how to fish himself, \\ msmith@freebsd.org \\ and he'll hate you for a lifetime. \\ msmith@cdrom.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message