FreeBSD src
Go to file
Ian Dowse cfd8a00918 In createfiles(), properly handle a number of cases where no further
volumes are available, instead of getting stuck in a loop calling
getvol(). Normally restore in 'x' or 'i' modes will ask for a new
(earlier) volume when the current inode number on the tape is greater
than the last inode to be restored, since there can be no further
inodes of interest on that volume. However we don't want to change
volumes in this case either if the user explicitly said that there
are no more tapes, or if we are looking at the first volume.

When no more volumes are available but there are still inodes that
we have not found, we now just fall through to the code that prints
out a list of any missing files, so the restore completes normally.
Also simplify the logic a bit by always returning to the start of
the main for(;;) loop whenever the volume has changed.

This should completely fix the "Changing volumes on pipe input" bug
that is often observed when restoring dumps of active filesystems.

PR:		bin/4176, bin/34604, misc/34675
2002-02-14 01:30:45 +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 Set rc=1 rather than 0 so that setting daily_show_success=YES masks 2002-02-13 19:10:07 +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 In createfiles(), properly handle a number of cases where no further 2002-02-14 01:30:45 +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 - Added support for receive in multiple 2002-02-13 18:19:27 +00:00
sys Fixed sign extension bugs in previous commit. They didn't completely 2002-02-14 01:21:23 +00:00
tools Complete '_' hack. 2002-02-07 19:32:40 +00:00
usr.bin * Don't SEGFAULT on attempt to write nothing (if no source files were 2002-02-13 13:00:33 +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