FreeBSD src
Go to file
bde 4bc66f9c1d Reject attempts to set an in-core label which says that the "disk"
or a partition is larger than the slice.

Now `disklabel -Brw sdX auto' should fail properly on sliced disks
without partition of type 165, e.g., on zip disks with the factory
default formatting.  Previously it set a bogus in-core label for
the compatibility slice and used this to corrupt the MBR (the slice
has offset 0 and size 0, but setting the label in effect corrupted
its size to nonzero).

`disklabel -Brw sdX auto' already failed properly on normally (not
dangerously dedicated) sliced disks _with_ partition of type 165,
because the compatibility slice has a nonzero offset so the MBR
remained inaccessible when the size was corrupted.

This bug only affected in-core labels.  On-disk labels are checked
carefully when they read and written.
1997-09-16 10:11:49 +00:00
bin PR: docs/4449 1997-09-13 17:40:00 +00:00
contrib Add a genclass.1 manpage. 1997-09-15 19:18:59 +00:00
crypto Bring the FreeBSD changes to the virgin sources. 1997-09-07 07:02:53 +00:00
eBones Remove some bogus malloc family declarations. 1997-07-13 23:45:34 +00:00
etc DTRT with ${viddev} in the same way as the other vidcontrol entries. 1997-09-14 12:16:36 +00:00
games Remove revoke privs, not needed 1997-09-16 01:22:47 +00:00
gnu Sigh, there's always one more buffer overflow. :-( 1997-09-16 08:33:52 +00:00
include SYSV has both <poll.h> and <sys/poll.h>. (poll.h merely #includes 1997-09-14 03:32:44 +00:00
lib Some adjustments for the resolver use of poll(). For some reason I thought 1997-09-16 06:03:54 +00:00
libexec Allow backspace too 1997-09-15 00:42:04 +00:00
lkm Add example for IPFIREWALL_DEFAULT_TO_ACCEPT 1997-09-10 04:19:07 +00:00
release Comment the UID games -> GID games change - mention the known problems with 1997-09-16 00:26:24 +00:00
sbin Some tweaks to get this to cope with ELF where the address space starts 1997-09-13 11:41:50 +00:00
secure Teach libdescrypt about elf builds. 1997-09-05 12:21:22 +00:00
share Explain the newer sio(4) flag values. 1997-09-14 18:55:41 +00:00
sys Reject attempts to set an in-core label which says that the "disk" 1997-09-16 10:11:49 +00:00
tools A little gadget to dump the contents of the vfs name cache. 1997-09-04 08:28:55 +00:00
usr.bin revert: The warning was supposed to irritate someone into fixing this. 1997-09-15 11:02:10 +00:00
usr.sbin Police from style.9 and Bruce. 1997-09-16 07:11:13 +00:00
COPYRIGHT This is the official 4.4 Lite copyright. 1994-09-11 07:53:28 +00:00
Makefile When calling the src/include Makefile use the shorthand ``all beforeinstall'' 1997-09-15 05:58:50 +00:00
README Note that /etc is not installed by world target either. 1997-08-09 14:36:20 +00:00

This is the top level of the FreeBSD source directory.  This file
was last revised on: $Id: README,v 1.10 1997/02/23 09:18:39 peter Exp $

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 and the contents of /etc.  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 with config(8) 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.

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 LINT contains entries for all possible devices, not
just those commonly used, and is meant more as a general reference
than an actual kernel configuration file (a kernel built from it
wouldn't even run).


Source Roadmap:
---------------
bin		System/User commands.

contrib		Packages contributed by 3rd parties.

eBones		Kerberos package - NOT FOR EXPORT!

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.

lib		System libraries.

libexec		System daemons.

lkm		Loadable Kernel Modules.

release		Release building Makefile & associated tools.

sbin		System commands.

secure		DES and DES-related utilities - NOT FOR EXPORT!

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