NetBSD/tools
lukem 1c33b4e6a4 Overhaul MBR handling (part 1):
<sys/bootblock.h>:
    *	Added definitions for the Master Boot Record (MBR) used by
	a variety of systems (primarily i386), including the format
	of the BIOS Parameter Block (BPB).
	This information was cribbed from a variety of sources
	including <sys/disklabel_mbr.h> which this is a superset of.

	As part of this, some data structure elements and #defines
	were renamed to be more "namespace friendly" and consistent
	with other bootblocks and MBR documentation.
	Update all uses of the old names to the new names.

<sys/disklabel_mbr.h>:
    *	Deprecated in favor of <sys/bootblock.h> (the latter is more
	"host tool" friendly).

amd64 & i386:
    *	Renamed /usr/mdec/bootxx_dosfs to /usr/mdec/bootxx_msdos, to
	be consistent with the naming convention of the msdosfs tools.

    *	Removed /usr/mdec/bootxx_ufs, as it's equivalent to bootxx_ffsv1
	and it's confusing to have two functionally equivalent bootblocks,
	especially given that "ufs" has multiple meanings (it could be
	a synonym for "ffs", or the group of ffs/lfs/ext2fs file systems).

    *	Rework pbr.S (the first sector of bootxx_*):
	    +	Ensure that BPB (bytes 11..89) and the partition table
		(bytes 446..509) do not contain code.
	    +	Add support for booting from FAT partitions if BOOT_FROM_FAT
		is defined.  (Only set for bootxx_msdos).
	    +	Remove "dummy" partition 3; if people want to installboot(8)
		these to the start of the disk they can use fdisk(8) to
		create a real MBR partition table...
	    +	Compile with TERSE_ERROR so it fits because of the above.
		Whilst this is less user friendly, I feel it's important
		to have a valid partition table and BPB in the MBR/PBR.

    *	Renamed /usr/mdec/biosboot to /usr/mdec/boot, to be consistent
	with other platforms.

    *	Enable SUPPORT_DOSFS in /usr/mdec/boot (stage2), so that
    	we can boot off FAT partitions.

    *	Crank version of /usr/mdec/boot to 3.1, and fix some of the other
	entries in the version file.

installboot(8) (i386):
    *	Read the existing MBR of the filesystem and retain the BIOS
    	Parameter Block (BPB) in bytes 11..89 and the MBR partition
	table in bytes 446..509.  (Previously installboot(8) would
	trash those two sections of the MBR.)

mbrlabel(8):
    *	Use sys/lib/libkern/xlat_mbr_fstype.c instead of homegrown code
	to map the MBR partition type to the NetBSD disklabel type.


Test built "make release" for i386, and new bootblocks verified to work
(even off FAT!).
2003-10-08 04:25:43 +00:00
..
asn1_compile Centralize the definition of the tool name prefix (i.e. "nb") into 2002-12-08 20:19:56 +00:00
autoconf Centralize the definition of the tool name prefix (i.e. "nb") into 2002-12-08 20:19:56 +00:00
binstall Centralize the definition of the tool name prefix (i.e. "nb") into 2002-12-08 20:19:56 +00:00
binutils - build "binutils" and "gcc" separately if USE_TOOLS_TOOLCHAIN is not set 2003-07-25 16:26:51 +00:00
cap_mkdb Centralize the definition of the tool name prefix (i.e. "nb") into 2002-12-08 20:19:56 +00:00
cat Centralize the definition of the tool name prefix (i.e. "nb") into 2002-12-08 20:19:56 +00:00
cksum Centralize the definition of the tool name prefix (i.e. "nb") into 2002-12-08 20:19:56 +00:00
compat Overhaul MBR handling (part 1): 2003-10-08 04:25:43 +00:00
compile_et Centralize the definition of the tool name prefix (i.e. "nb") into 2002-12-08 20:19:56 +00:00
config Centralize the definition of the tool name prefix (i.e. "nb") into 2002-12-08 20:19:56 +00:00
crunchgen Centralize the definition of the tool name prefix (i.e. "nb") into 2002-12-08 20:19:56 +00:00
ctags Centralize the definition of the tool name prefix (i.e. "nb") into 2002-12-08 20:19:56 +00:00
db Add db(1) as a host tool 2003-05-18 08:05:32 +00:00
dbsym - build "binutils" and "gcc" separately if USE_TOOLS_TOOLCHAIN is not set 2003-07-25 16:26:51 +00:00
fgen Centralize the definition of the tool name prefix (i.e. "nb") into 2002-12-08 20:19:56 +00:00
file When building with "-j 2", linking the "file" tool failed because 2003-07-08 03:41:34 +00:00
gcc for mknative, make sure we look in the target's /lib directly as the 2003-08-23 10:07:25 +00:00
gencat Centralize the definition of the tool name prefix (i.e. "nb") into 2002-12-08 20:19:56 +00:00
gettext Rename a large chunk of the make(1) variables which refer to a 2003-07-10 10:33:58 +00:00
groff Add INSTALL_INFO=${TOOL_INSTALL_INFO:Q} to MAKE_ARGS. 2003-08-22 00:12:18 +00:00
hexdump Make hexdump a host tool. 2003-03-07 01:14:30 +00:00
host-mkdep Fix 2 remaining places items are depending on execute permissions coming out 2003-08-11 19:26:04 +00:00
installboot use reachover relative paths in compat include files instead of 2003-05-14 00:30:26 +00:00
lex Centralize the definition of the tool name prefix (i.e. "nb") into 2002-12-08 20:19:56 +00:00
lint
lint1
lint2
lorder Centralize the definition of the tool name prefix (i.e. "nb") into 2002-12-08 20:19:56 +00:00
m4 Centralize the definition of the tool name prefix (i.e. "nb") into 2002-12-08 20:19:56 +00:00
make netbsd.org->NetBSD.org 2003-07-26 20:17:31 +00:00
makefs use reachover relative paths in compat include files instead of 2003-05-14 00:30:26 +00:00
makewhatis Use "nbnroff" instead of "nroff". 2003-06-14 17:57:26 +00:00
mdsetimage - build "binutils" and "gcc" separately if USE_TOOLS_TOOLCHAIN is not set 2003-07-25 16:26:51 +00:00
menuc Centralize the definition of the tool name prefix (i.e. "nb") into 2002-12-08 20:19:56 +00:00
mips-elf2ecoff Centralize the definition of the tool name prefix (i.e. "nb") into 2002-12-08 20:19:56 +00:00
mkcsmapper Citrus iconv support(3) 2003-06-26 06:30:07 +00:00
mkdep Centralize the definition of the tool name prefix (i.e. "nb") into 2002-12-08 20:19:56 +00:00
mkesdb Citrus iconv support(3) 2003-06-26 06:30:07 +00:00
mklocale Centralize the definition of the tool name prefix (i.e. "nb") into 2002-12-08 20:19:56 +00:00
mktemp Centralize the definition of the tool name prefix (i.e. "nb") into 2002-12-08 20:19:56 +00:00
msgc Centralize the definition of the tool name prefix (i.e. "nb") into 2002-12-08 20:19:56 +00:00
mtree Centralize the definition of the tool name prefix (i.e. "nb") into 2002-12-08 20:19:56 +00:00
pax Centralize the definition of the tool name prefix (i.e. "nb") into 2002-12-08 20:19:56 +00:00
prep-mkbootimage Centralize the definition of the tool name prefix (i.e. "nb") into 2002-12-08 20:19:56 +00:00
pwd_mkdb Centralize the definition of the tool name prefix (i.e. "nb") into 2002-12-08 20:19:56 +00:00
rpcgen Centralize the definition of the tool name prefix (i.e. "nb") into 2002-12-08 20:19:56 +00:00
stat add stat(1) as a host tool 2003-07-20 14:06:32 +00:00
sunlabel Build with -DNO_S_COMMAND. We don't need to set the in-core label 2003-01-27 01:25:07 +00:00
texinfo Centralize the definition of the tool name prefix (i.e. "nb") into 2002-12-08 20:19:56 +00:00
toolchain document how to generate GCC3.3 bootstrap info with mknative 2003-07-27 15:00:52 +00:00
tsort Centralize the definition of the tool name prefix (i.e. "nb") into 2002-12-08 20:19:56 +00:00
uudecode Centralize the definition of the tool name prefix (i.e. "nb") into 2002-12-08 20:19:56 +00:00
yacc Centralize the definition of the tool name prefix (i.e. "nb") into 2002-12-08 20:19:56 +00:00
zic Centralize the definition of the tool name prefix (i.e. "nb") into 2002-12-08 20:19:56 +00:00
Makefile - build "binutils" and "gcc" separately if USE_TOOLS_TOOLCHAIN is not set 2003-07-25 16:26:51 +00:00
Makefile.gnuhost set HOST_CFLAGS+= -no-cpp-precomp when configuring gnu software on Darwin 2003-10-07 14:12:36 +00:00
Makefile.gnuwrap Put -X into MAKEFLAGS on FreeBSD and Mac OS X; they have a small ARG_MAX. 2003-03-14 05:22:50 +00:00
Makefile.host Move -no-cpp-precomp logic to defs.mk. 2003-03-13 05:15:49 +00:00