Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Jul 2001 23:19:40 -0700
From:      Terry Lambert <tlambert2@mindspring.com>
To:        Rohit Grover <rgrover@panasas.com>
Cc:        freebsd-config@freebsd.org
Subject:   Re: sysinstall in mfsroot.flp
Message-ID:  <3B664DFC.CE2D3CB1@mindspring.com>
References:  <01073010225408.01042@tiltill.panasas.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3B664DFC.CE2D3CB1>