FreeBSD src
Go to file
Ian Dowse f55ff3f3ef The ffs superblock includes a 128-byte region for use by temporary
in-core pointers to summary information. An array in this region
(fs_csp) could overflow on filesystems with a very large number of
cylinder groups (~16000 on i386 with 8k blocks). When this happens,
other fields in the superblock get corrupted, and fsck refuses to
check the filesystem.

Solve this problem by replacing the fs_csp array in 'struct fs'
with a single pointer, and add padding to keep the length of the
128-byte region fixed. Update the kernel and userland utilities
to use just this single pointer.

With this change, the kernel no longer makes use of the superblock
fields 'fs_csshift' and 'fs_csmask'. Add a comment to newfs/mkfs.c
to indicate that these fields must be calculated for compatibility
with older kernels.

Reviewed by:	mckusick
2001-01-15 18:30:40 +00:00
bin Special case the error reporting when errno is ENOTDIR or ENOENT. 2001-01-14 12:08:50 +00:00
contrib Make tcpwrappers use the magic in syslog.h for getting syslog facility 2001-01-14 23:00:59 +00:00
crypto /Really/ deprecate ConnectionsPerPeriod, ripping out the code for it 2001-01-13 07:57:43 +00:00
etc Fix this to be more consistent with similar constructions elsewhere 2001-01-14 09:29:57 +00:00
games Prepare for mdoc(7)NG. 2000-12-19 15:46:46 +00:00
gnu mdoc(7) police: Ft/Vt now accept punctuation-type arguments. 2001-01-12 15:46:56 +00:00
include Move MD <machine/if_wavelan_ieee.h> to MI <dev/wi/if_wavelan_ieee.h> 2001-01-09 00:50:45 +00:00
kerberos5 Fix ordering for real this time. 2000-08-30 03:44:30 +00:00
kerberosIV add strcollect.c to SRCS (new file in 1.0.5) 2000-12-29 23:44:24 +00:00
lib Version bump, because of ABI incompatibility. 2001-01-15 13:19:05 +00:00
libexec Move the process of storing entropy from /dev/random and reseeding with 2001-01-14 07:18:31 +00:00
release Backtrack a bit.. Put the dangerously dedicated option under a 2001-01-15 08:15:19 +00:00
sbin The ffs superblock includes a 128-byte region for use by temporary 2001-01-15 18:30:40 +00:00
secure Merge into a single US-exportable libcrypt, which only provides 2000-12-28 10:32:02 +00:00
share man(7) -> mdoc(7). 2001-01-15 17:54:19 +00:00
sys The ffs superblock includes a 128-byte region for use by temporary 2001-01-15 18:30:40 +00:00
tools The latest & greatest unused #include spotter. Faster, one-pass and 2000-10-28 21:44:05 +00:00
usr.bin mdoc(7) police: fix the weird construct. 2001-01-15 16:49:28 +00:00
usr.sbin mdoc(7) police: fix the unbalanced Bk/Ek. 2001-01-15 16:58:14 +00:00
COPYRIGHT Update to add the July 22, 1999 addendum. 1999-09-05 21:33:47 +00:00
Makefile Add back displaying the `world' start time when displaying the stop time. 2000-12-06 04:35:45 +00:00
Makefile.inc1 Removed pc98-hack of aout tools. 2000-12-24 14:58:34 +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 Spell while the more traditional way. 2001-01-03 05:30:30 +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