From owner-freebsd-config Mon Jul 30 23:22:16 2001 Delivered-To: freebsd-config@freebsd.org Received: from falcon.mail.pas.earthlink.net (falcon.mail.pas.earthlink.net [207.217.120.74]) by hub.freebsd.org (Postfix) with ESMTP id C692137B403 for ; Mon, 30 Jul 2001 23:22:13 -0700 (PDT) (envelope-from tlambert2@mindspring.com) Received: from mindspring.com (dialup-209.247.143.182.Dial1.SanJose1.Level3.net [209.247.143.182]) by falcon.mail.pas.earthlink.net (EL-8_9_3_3/8.9.3) with ESMTP id XAA05911; Mon, 30 Jul 2001 23:19:39 -0700 (PDT) Message-ID: <3B664DFC.CE2D3CB1@mindspring.com> Date: Mon, 30 Jul 2001 23:19:40 -0700 From: Terry Lambert Reply-To: tlambert2@mindspring.com X-Mailer: Mozilla 4.7 [en]C-CCK-MCD {Sony} (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Rohit Grover Cc: freebsd-config@freebsd.org Subject: Re: sysinstall in mfsroot.flp References: <01073010225408.01042@tiltill.panasas.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-config@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Rohit Grover wrote: > > Hello, > > I need to install freebsd on a large cluster of machines. I am using > pxe boot to do this. It essentially sets up your machine to download > a kernel and an mfs_root over the network. My mfsroot is a > superset of mfsroot.flp from the freebsd distribution. In > mfsroot.flp, the /stand directory contains a bunch of executables > hardlinked to the same file. > > a> I'd like to know how this executable was created. FWIW, it's called a "crunched" binary, and it's made by linking all the programs into one binary, and then having the binary differentiate how it's supposed to behave based on argv[0]. This binary is built in /usr/src/release wjen you type "make release", and it's built from the normal sources (look at the systinstall target, in particular, since it is one of these "crunched" binaries). In simple terms, this is a "poor man's shared library", since it implements shared code at a time that shared libraries are not accessible (this is mostly an administrative issue: FreeBSD does not like shared libraries early on, even though you are in just as much danger of losing /bin/sh, /etc/rc, /kernel, /boot/loader, or some other single point of failure as you are ld.so or libc.so). > b> Does anyone know how to get around the IPV6 prompt in sysinstall? See the patch Jordan posted; it's as good a way as any. -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-config" in the body of the message