FreeBSD src
Go to file
John Baldwin 5af9115c77 This is a new CD bootstrap utility designed to replace cdldr. According
to the El Torito standard for CD booting, a CD may boot in "No emulation"
mode without using a floppy image.  In this mode, the BIOS loads a program
off of the CD into memory and creates a BIOS device using 2048 byte sectors
for the CD.  According to the standard, this program can be up to 0xFFFF
virtual (512-byte) sectors long.  The old cdldr depended on this by having
the BIOS load the entire loader and the small cdldr stub as one binary
similar to pxeboot so that cdldr didn't have to read the CD to find the
loader.  However, the NT no emulation loader just uses 1 disk sector
(4 virtual sectors), so it seems that at least some BIOS writers just did
enough to get NT to boot by only loading 1 sector and ignoring the sector
count.  Thus, while cdldr should have worked in theory, it doesn't in
practice.  This replacment fits entirely in 1 sector and includes simple
ISO 9660 support.  It looks for /boot/loader on the CD and loads it up
using the BIOS.  This allows us to not have to depend on the limited size
of floppy images but use a full GENERIC kernel for CD-ROM installs in the
future, among other things.

This version of cdboot is a bit bloated as it includes some useful
debugging routines that people can pull to use in other x86 assembly
modules.  Even with all the debugging cruft, we still have 272 bytes to
spare.
2001-11-04 03:24:16 +00:00
bin Use a quad int conversion routine for time_t instead of ulong, capable of 2001-10-28 02:51:43 +00:00
contrib Tighten up the random seeding a little bit more. getpid() alone only 2001-11-03 02:14:10 +00:00
crypto Fix world by trimming an extra comment terminator. 2001-10-29 19:22:38 +00:00
etc Fix a bug I introduced yesterday. People who built world since the 2001-11-02 22:00:17 +00:00
games Separate concatenated fortunes. 2001-11-03 16:43:13 +00:00
gnu Clone the alpha config for ia64. 2001-11-03 16:06:05 +00:00
include Remove FreeBSD/vax and FreeBSD/tahoe support. 2001-11-03 08:38:54 +00:00
kerberos5 make libtelnet (and telnet, telnetd) use libkrb when required 2001-11-01 03:16:03 +00:00
kerberosIV Diff reduce all the crypto telnet Makefiles. 2001-08-20 12:32:45 +00:00
lib Implement fpsetmask() and fpgetmask(). 2001-11-03 15:52:18 +00:00
libexec Update rtld for the "new" ia64 ABI. In the old toolchain, the 2001-10-29 10:10:10 +00:00
release Alpha now has a TGA-capable console driver. 2001-11-01 19:07:33 +00:00
sbin Remove support for FreeBSD/tahoe 2001-11-03 08:35:11 +00:00
secure Install libssh and libssh_pic. These are needed when building 2001-10-30 19:45:00 +00:00
share Typo correction: detailled -> detailed. 2001-11-02 14:59:51 +00:00
sys This is a new CD bootstrap utility designed to replace cdldr. According 2001-11-04 03:24:16 +00:00
tools Make a start at a regression test for the unaligned trap handler. 2001-10-19 22:10:13 +00:00
usr.bin Add myself. 2001-11-03 19:09:41 +00:00
usr.sbin Add a ``log'' command for logging specific information. 2001-11-03 21:45:32 +00:00
COPYRIGHT Update to add the July 22, 1999 addendum. 1999-09-05 21:33:47 +00:00
Makefile Make it possible to build manpages for the entire source tree. 2001-03-27 08:43:28 +00:00
Makefile.inc1 Bring Gawk back. There just isn't any other POSIX compliant AWK out there. 2001-11-02 23:48:32 +00:00
Makefile.upgrade $Id$ -> $FreeBSD$ 1999-08-28 01:35:59 +00:00
README Slightly improve the description of "crypto". "DES" is a subset of 2000-08-31 17:59:01 +00:00
UPDATING Some words about awk and pain 2001-11-03 17:42:56 +00:00

This is the top level of the FreeBSD source directory.  This file
was last revised on:
$FreeBSD$

For copyright information, please see the file COPYRIGHT in this
directory (additional copyright information also exists for some
sources in this tree - please see the specific source directories for
more information).

The Makefile in this directory supports a number of targets for
building components (or all) of the FreeBSD source tree, the most
commonly used one being ``world'', which rebuilds and installs
everything in the FreeBSD system from the source tree except the
kernel, the kernel-modules and the contents of /etc.  The
``buildkernel'' and ``installkernel'' targets build and install
the kernel and the modules (see below).  Please see the top of
the Makefile in this directory for more information on the
standard build targets and compile-time flags.

Building a kernel is a somewhat more involved process, documentation
for which can be found at:
   http://www.freebsd.org/handbook/kernelconfig.html
And in the config(8) man page.
Note: If you want to build and install the kernel with the
``buildkernel'' and ``installkernel'' targets, you have to build
world before.  More information is available in the handbook.

The sample kernel configuration files reside in the sys/i386/conf
sub-directory (assuming that you've installed the kernel sources), the
file named GENERIC being the one used to build your initial installation
kernel.  The file NOTES contains entries and documentation for all possible
devices, not just those commonly used.  It is the successor of the ancient
LINT file, but in contrast to LINT, it is not buildable as a kernel but a
pure reference and documentation file.


Source Roadmap:
---------------
bin		System/User commands.

contrib		Packages contributed by 3rd parties.

crypto		Cryptography stuff (see crypto/README).

etc		Template files for /etc

games		Amusements.

gnu		Various commands and libraries under the GNU Public License.
		Please see gnu/COPYING* for more information.

include		System include files.

kerberosIV	Kerberos package.

lib		System libraries.

libexec		System daemons.

release		Release building Makefile & associated tools.

sbin		System commands.

secure		Cryptographic libraries and commands.

share		Shared resources.

sys		Kernel sources.

tools		Utilities for regression testing and miscellaneous tasks.

usr.bin		User commands.

usr.sbin	System administration commands.


For information on synchronizing your source tree with one or more of
the FreeBSD Project's development branches, please see:

  http://www.freebsd.org/handbook/synching.html