FreeBSD src
Go to file
Kirk McKusick a02a0079ca Add support for running foreground (-F) and background (-B) checks.
Traditionally, fsck is invoked before the filesystems are mounted
and all checks are done to completion at that time. If background
checking is available, fsck is invoked twice. It is first invoked
at the traditional time, before the filesystems are mounted, with
the -F flag to do checking on all the filesystems that cannot do
background checking. It is then invoked a second time, after the
system has completed going multiuser, with the -B flag to do checking
on all the filesystems that can do background checking. Unlike
the foreground checking, the background checking is started
asynchonously so that other system activity can proceed even on
the filesystems that are being checked.

At the moment, only the fast filesystem supports background checking.
To be able to do background checking, a filesystem must have been
running with soft updates, not have been marked as needing a
foreground check, and be mounted and writable when the background
check is to be done (i.e., not listed as `noauto' in /etc/fstab).

These changes are the final piece needed to support background
filesystem checking. They will not have any effect until you update
your /etc/rc to invoke fsck in its new mode of operation. I am
still playing around with exactly what those changes should be
and should be committing them later this week.
2001-04-25 07:18:22 +00:00
bin o Separate acl_t into internal and external representations as 2001-04-24 22:45:41 +00:00
contrib Move manpages to their original location (cvs copy to doc) 2001-04-21 22:02:18 +00:00
crypto Toss into attic stuff we don't use. 2001-04-14 09:48:26 +00:00
etc Move to using md. 2001-04-25 05:46:40 +00:00
games %DCL-I-FORMATRIGHT, Format VMS error messages pedantically correct. 2001-04-23 06:08:30 +00:00
gnu If the world was built using either -DNOCLEAN or -DNOCLEANDIR, it was 2001-04-23 13:27:35 +00:00
include Move sranddev() to !ANSI_SOURCE !POSIX_SOURCE section 2001-04-23 09:32:06 +00:00
kerberos5 Bye-bye /usr/lib/libtelnet.a. This should fix ``make release'' brokeness. 2001-03-28 12:08:22 +00:00
kerberosIV beforeinstall -> SCRIPTS. 2001-04-07 11:21:35 +00:00
lib o Separate acl_t into internal and external representations as 2001-04-24 22:45:41 +00:00
libexec Replace a strcat() with a strlcat(). Partial sync with OpenBSD; more 2001-04-24 10:33:46 +00:00
release New release notes: TCP_COMPAT_42 option gone, labpc(4) gone, client-side 2001-04-24 22:47:34 +00:00
sbin Add support for running foreground (-F) and background (-B) checks. 2001-04-25 07:18:22 +00:00
secure Reactivate SRA. 2001-04-05 14:09:15 +00:00
share "break", "chdir", "continue", "else", and "while" are sh(1) builtins; 2001-04-25 05:53:20 +00:00
sys Move the netexport structure from the fs-specific mountstructure 2001-04-25 07:07:52 +00:00
tools Update this to reflect changes in config(8) usage. 2001-04-23 17:31:16 +00:00
usr.bin Teach cut(1) how to handle long lines: convert from fgets(3) to fgetln(3). 2001-04-25 05:42:53 +00:00
usr.sbin Don't build pkg_sign tools if crypto is not installed, or is not 2001-04-24 08:59:40 +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 Add usr.bin/xlint to build-tools. 2001-04-24 20:19:29 +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 Add warning, and resolution, of the fsck and kernel problem 2001-04-24 04:49:21 +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