From owner-freebsd-hackers Wed Jun 3 23:33:37 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id XAA08918 for freebsd-hackers-outgoing; Wed, 3 Jun 1998 23:33:37 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from antipodes.cdrom.com (castles348.castles.com [208.214.167.48]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id XAA08901 for ; Wed, 3 Jun 1998 23:33:27 -0700 (PDT) (envelope-from mike@antipodes.cdrom.com) Received: from antipodes.cdrom.com (localhost [127.0.0.1]) by antipodes.cdrom.com (8.8.8/8.8.5) with ESMTP id WAA00537; Wed, 3 Jun 1998 22:28:27 -0700 (PDT) Message-Id: <199806040528.WAA00537@antipodes.cdrom.com> X-Mailer: exmh version 2.0zeta 7/24/97 To: Luigi Rizzo cc: Nicolas.Souchu@prism.uvsq.fr (Nicolas Souchu), freebsd-hackers@FreeBSD.ORG, mbouget@club-internet.fr Subject: Re: tftp in bootp process In-reply-to: Your message of "Thu, 04 Jun 1998 04:40:27 +0200." <199806040240.EAA08571@labinfo.iet.unipi.it> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 03 Jun 1998 22:28:27 -0700 From: Mike Smith Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > Hi there, > > > > Is /tftpboot/cfg.X.X.X file really usefull in the bootp process? > > > > /etc/bootptab already contains rootfs, swapfs and so on... > > > > A identification/security issue? > > tftp is not used anymore in the diskless boot process. Unfortunately the > documentation (especially, the handbook) has not been updated. The > best source of documentation is the netboot(8) manpage. Ah, last time I looked at the netboot sources, it still fetched and read the configuration file. The netboot(8) manpage was stolen from NetBSD and never updated. It doesn't describe the (primitive, Sun -inspired) NetBSD diskless environment very well, and its applicability to FreeBSD is even less. I quote from netboot(8) just for perspective: In phase 2, the boot program loads a kernel. Operation in this phase de- pends on the design of the boot program. (The design described here is the one used by Sun and NetBSD/hp300.) The boot program: I can't imagine what this manpage is doing apart from confusing people. I wouldn't want to recommend the FTL AppNotes collection just yet (with a grand total of two notes), but they *do* both apply, reasonably accurately, to booting diskless FreeBSD systems, and they do cover the use of both pure BOOTP and mixed BOOTP/TFTP configuration. http://www.freebsd.org/~msmith/FTL/appnotes -- \\ Sometimes you're ahead, \\ Mike Smith \\ sometimes you're behind. \\ mike@smith.net.au \\ The race is long, and in the \\ msmith@freebsd.org \\ end it's only with yourself. \\ msmith@cdrom.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message