FreeBSD src
Go to file
Ian Dowse 1603684d77 Fix a number of long-standing restore bugs in tape.c, mainly relating
to multi-volume restores:
 - In findinode(), keep a copy of header->c_type so that we don't
   exit the do-while loop until we have processed the current header.
   Exiting too early leaves curfile.ino set to 0, which confuses
   the logic in createfiles(), so multi-volume restores with the
   'x' command don't work if you follow the instructions and supply
   the tapes in reverse order.  This appears to have been broken
   by CSRG revision 5.33 tape.c (Oct 1992).
 - The logic in getvol() for deciding how many records to skip after
   the volume header was confused; sometimes it would skip too few
   records and sometimes too many, leading to "resync restore"
   warnings and missing files. Skip to the next header only when
   the current action is not `USING'. Work around a dump bug that
   sets c_count incorrectly in the volume header of the first tape.
   Some of the problems here date back to at least 1991.
 - Back out revision 1.23. This appeared to avoid warnings about
   missing files in the 'rN' verification case, but it made the
   problems with the 'x' command worse by stopping getvol() from
   even attempting to find the first inode number on the newly
   inserted tape. The bug it addressed is fixed by correcting the
   skipping logic as described above.
 - Save the value of `tpblksread' in case the wrong volume is
   supplied, because it is incremented each time we read a volume
   header. We already saved `blksread' for the same reson.
2002-02-13 12:06:58 +00:00
bin Install complete.tcsh and csh-mode.el into ${SHAREDIR}/examples/tcsh. 2002-02-12 04:50:12 +00:00
contrib This commit was generated by cvs2svn to compensate for changes in r90446, 2002-02-10 04:40:26 +00:00
crypto Don't use non-signal-safe functions (exit(3) in this case) in 2002-02-05 15:20:02 +00:00
etc Fix a typo in swat example. 2002-02-13 08:21:45 +00:00
games Add a tip about pkg_info and checking for multiple installed versions 2002-02-11 03:45:29 +00:00
gnu Nice set of fixes to use SCRIPT instead of PROG, thus fixing up 2002-02-10 19:48:19 +00:00
include Revert 1.29. It breaks the build. Will figure out a better way to do 2002-02-13 10:11:38 +00:00
kerberos5 Fixed -DMAKE_KERBEROS5 world breakage in kerberos5/lib/libroken 2002-02-11 16:47:05 +00:00
kerberosIV Install script via SCRIPTS. 2001-12-17 16:52:32 +00:00
lib Use new-style function declations. 2002-02-13 09:30:47 +00:00
libexec Fix infinite loop around sendfile(2) after sending >4GB file. 2002-02-13 09:00:05 +00:00
release Mkdir ${CHROOTDIR}/usr/ports/distfiles if RELEASEDISTFILES is not set. 2002-02-12 16:56:06 +00:00
sbin Fix a number of long-standing restore bugs in tape.c, mainly relating 2002-02-13 12:06:58 +00:00
secure Now that cross-tools ld(1) has been fixed to look for dynamic 2002-02-08 13:42:58 +00:00
share Unbreak nl_BE locales 2002-02-12 18:40:57 +00:00
sys Remove WITNESS from GENERIC by default: as we grow more locks, this gets 2002-02-13 07:44:59 +00:00
tools Complete '_' hack. 2002-02-07 19:32:40 +00:00
usr.bin Add myself. 2002-02-11 13:13:02 +00:00
usr.sbin Remove unnecessary setjmp.h. 2002-02-13 08:49:29 +00:00
COPYRIGHT Update to add the July 22, 1999 addendum. 1999-09-05 21:33:47 +00:00
Makefile FreeBSD 4.1 bootstrapping aid (``:C'' make(1) modifier used 2002-02-08 09:48:34 +00:00
Makefile.inc1 Fixed -DMAKE_KERBEROS5 world breakage in kerberos5/lib/libroken 2002-02-11 16:47:05 +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 info about sppp and fd changes in December to current. 2002-01-27 07:00:25 +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