FreeBSD src
Go to file
Bruce Evans 7b17f8ffbd Don't permit generation of non-physical disk addresses.
subr_diskmbr.c:
Don't "helpfully" enlarge our idea of the disk size to cover all the
primary slices.  Instead, truncate or discard slices that don't seem
to be on the disk.  The enlargement was a hack for disks that don't
report their size (e.g., MFM disks).  It is just wrong in general.

wd.c:
In CHS mode, limit the disk size so that cylinder numbers >= 65536
cannot occur.  This normally only affects disks larger than 33.8GB.
CHS mode accesses to addresses above the limit are now properly broken
(an error is returned instead of garbage for reads and disk corruption
for writes).

PR:		15611
Reviewed by:	readers of freebsd-bugs did not respond to a request
            	for review
2000-01-28 10:22:07 +00:00
bin Historically file flags (schg, uschg, etc) have been converted from 2000-01-27 21:17:01 +00:00
contrib Bump __FreeBSD_version and __FreeBSD_cc_version due to the C++ ABI change 2000-01-27 23:12:38 +00:00
crypto another tcp apps IPv6 updates.(should be make world safe) 2000-01-27 09:28:38 +00:00
etc Add 'config auto' confirmed entries. 2000-01-27 23:09:13 +00:00
games Backout rev1.7, as it broke adventure(6) (const'ing a non-r/o variable). 1999-12-25 03:50:42 +00:00
gnu Track internal(!) libc symbol naming change. 2000-01-28 08:49:23 +00:00
include Historically file flags (schg, uschg, etc) have been converted from 2000-01-27 21:17:01 +00:00
kerberos5 another tcp apps IPv6 updates.(should be make world safe) 2000-01-27 09:28:38 +00:00
kerberosIV another tcp apps IPv6 updates.(should be make world safe) 2000-01-27 09:28:38 +00:00
lib Install setflags.3 and its link to getflags.3. 2000-01-28 07:14:52 +00:00
libexec Changed setflags() to set_flags(). This fixes world breakage due to 2000-01-28 07:12:03 +00:00
release OK, I admit defeat - allow the user to override hostname and gateway 2000-01-28 02:15:07 +00:00
sbin Fix return value check for inet_pton(). 2000-01-25 13:54:47 +00:00
secure another tcp apps IPv6 updates.(should be make world safe) 2000-01-27 09:28:38 +00:00
share Fix misunderstanding that ata(4) is i386 only. Since this file has 2000-01-28 08:41:04 +00:00
sys Don't permit generation of non-physical disk addresses. 2000-01-28 10:22:07 +00:00
tools Don't use -C internally. Use -c. For some reason files are not copied 1999-12-15 18:08:56 +00:00
usr.bin IPv6 multicast routing. 2000-01-28 05:10:56 +00:00
usr.sbin Fix English, mdoc and layout of the previous commit, as requested by 2000-01-28 10:21:19 +00:00
COPYRIGHT Update to add the July 22, 1999 addendum. 1999-09-05 21:33:47 +00:00
Makefile Add the buildkernel and installkernel targets. 2000-01-09 18:17:48 +00:00
Makefile.inc1 Build Kerberos5 if the correct macro is set. This is not for the 2000-01-24 20:11:53 +00:00
Makefile.upgrade $Id$ -> $FreeBSD$ 1999-08-28 01:35:59 +00:00
README $Id$ -> $FreeBSD$ 1999-08-28 01:35:59 +00:00
UPDATING Add recent entries: 2000-01-19 17:18:43 +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 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.

crypto		Export controlled 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		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