freebsd with flexible iflib nic queues
Go to file
Robert Watson bf1e70b230 Reformulate how sysinstall handles file system options in the label
editor, in order to support specifying UFS2 as a newfs option.

(1) Support three different newfs types: NEWFS_UFS, NEWFS_MSDOS, and
    NEWFS_CUSTOM.  Don't mix up the arguments to them: you can't use
    soft updates on an msdos file system.

(2) Distinguish adding new arguments to the newfs command line from
    replacing it.  Permit the addition of new arguments by the user for
    NEWFS_UFS.  If we entirely replace the command line provided by
    sysinstall, call it NEWFS_CUSTOM.  'N' will now add additional
    arguments; 'Z' will opt to replace the newfs command line entirely,
    but will prompt the user with their current command line as a
    starting point.

(3) Construct the newfs command line dynamically based on the options
    provided by the user at label-time.  Right now, this means selecting
    UFS1 vs. UFS2, and the soft updates flag.  Drop in some variables
    to support ACLs and MAC Multilabel in the future also, but don't
    expose them now.

This provides sysinstall with the ability to do more "in band" editing
of the newfs command line, so we can provide more support for the user,
but doesn't sacrifice the ability to entirely specify the newfs command
line of the user is willing to give up on the cushiness factor.  It
also makes it easier for us to specify defaults in the future, and
define conditional behavior based on user configuration selections.
For now, we default to UFS1, and permit UFS2 to be used as the root
only on non-i386 systems.

While I was there, I dropped the default fragment and block sizes,
since newfs has much more sensible defaults now.

Reviewed by:	jhb, marcel
Approved by:	re
ia64 bits from:	marcel
2002-12-03 22:25:47 +00:00
bin mdoc(7) police: 2002-11-26 17:55:41 +00:00
contrib Add spaces around FBSD_ENDFILE_SPEC as it is used in string concatenation. 2002-12-03 04:31:19 +00:00
crypto Since OpenSSH drops privileges before calling pam_open_session(3), 2002-12-03 15:48:11 +00:00
etc Since OpenSSH drops privileges before calling pam_open_session(3), 2002-12-03 15:48:11 +00:00
games mdoc(7) police: sweep. 2002-11-29 16:21:33 +00:00
gnu Oops. Use the correct version number. The number that was here was the 2002-12-03 21:59:42 +00:00
include Don't install old LOMAC include files; do install new mac_lomac 2002-12-03 15:05:32 +00:00
kerberos5 Update version numbers after import of Heimdal 0.5.1. 2002-11-24 21:00:51 +00:00
kerberosIV update version numbers to (consistenly): 2002-10-23 06:12:21 +00:00
lib Update the second copy of libstand to deal with the new ufs2 superblock 2002-12-03 16:25:29 +00:00
libexec Put back a test for binaries with no PT_LOAD entries I over-jealosly 2002-11-29 16:41:31 +00:00
release "i386" is probably a better long name for the i386 platform, as 2002-12-03 18:00:30 +00:00
sbin Add the `L' option to dump to notify it that it is dumping a 2002-12-03 18:21:09 +00:00
secure Remove myself as maintainer of openssl; I no longer have enough time to 2002-11-21 08:48:08 +00:00
share Add support for the PC98 platform to the ATA driver. 2002-12-03 20:20:44 +00:00
sys Add support for the PC98 platform to the ATA driver. 2002-12-03 20:20:44 +00:00
tools Add a test for what was fixed in revisions 1.39 and 1.50 of 2002-11-28 13:21:32 +00:00
usr.bin Make a CR/LF sequence measure up to its name: the order of the CR and LF 2002-12-02 20:38:12 +00:00
usr.sbin Reformulate how sysinstall handles file system options in the label 2002-12-03 22:25:47 +00:00
COPYRIGHT
MAINTAINERS Note file, one-true-awk, lukemftpd. 2002-11-28 00:02:25 +00:00
Makefile Minor, cosmetic change to buildworld output to make it reflect 2002-12-03 17:49:05 +00:00
Makefile.inc1 For installkernel, use the fresh tools (if we've built them with 2002-12-02 14:03:40 +00:00
Makefile.upgrade Removed "env" commands. "sh" is a real shell, so 2002-03-19 05:58:36 +00:00
README Fix broken handbook links. 2002-07-21 16:45:30 +00:00
UPDATING OK, you can use the 4.x boot loader and boot blocks to load kernels, but 2002-10-30 20:11:07 +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/doc/en_US.ISO8859-1/books/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 might need to build
world before.  More information is available in the handbook.

The sample kernel configuration files reside in the sys/<arch>/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.

kerberos5	Kerberos5 (Heimdal) package.

kerberosIV	KerberosIV (eBones) 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/doc/en_US.ISO8859-1/books/handbook/synching.html