Commit Graph

97 Commits

Author SHA1 Message Date
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
christos 561e92ee2f mention that you *need* COMPAT_16 before building. 2003-09-06 22:12:42 +00:00
wiz c5710fd04d It is openssl, not openssh, and fix another typo. 2003-08-05 18:39:56 +00:00
christos d435be0cef Mention how to fix libdes lossage. 2003-08-05 17:49:52 +00:00
salo 8d1781e39d netbsd.org->NetBSD.org 2003-07-26 17:06:22 +00:00
wiz cfa081118a Add paragraph for texinfo-4.6. 2003-07-03 15:29:15 +00:00
wiz 7eea230300 Note that you need to update share/mk too. 2003-07-01 08:13:41 +00:00
wiz df287667aa Add (untested) paragraph about groff update. 2003-06-30 20:13:26 +00:00
christos 4c6da4d976 mention export lossage 2003-05-16 14:19:49 +00:00
itojun bcefcfe7dd put a not on 2002/12/19 cvs repository layout change. 2003-04-30 07:23:49 +00:00
bjh21 fae8295a3b Mention nasty interactions between new FFS superblock layout and old
fsck_ffs, using a heavily-abridged version of fvdl's original announcement.
2003-04-19 21:27:04 +00:00
kleink 8ecd984927 Since we mention __assert13, add __unsetenv13 here as well. 2003-04-10 08:12:29 +00:00
atatat 91865a2d18 Mention the import of the new version of sendmail, describe what's
needed of people when updating, and point them at some of the sendmail
documentation so that they can easily find more information.
2003-04-02 18:01:53 +00:00
grant 0df4872b2e add entry for smmsp user/group.
fixes PR misc/17513 from Geoff C. Wing.
2003-02-06 04:37:59 +00:00
kei 3afb432b11 fix typo. USETOOLS, not USE_TOOLS. 2003-01-29 09:17:08 +00:00
wiz d68e4e3017 Note texinfo-4.3 update and how to make it work if one wants to avoid build.sh. 2003-01-17 22:58:52 +00:00
lukem e12b1c97ab METALOG format tweak 2002-12-23 06:55:33 +00:00
lukem c069154e9b the recently added -N option of install(1) is now used by default 2002-12-19 12:48:42 +00:00
wiz 84f0e13d3a Some typo and grammar fixes. Begin new sentences with upper case letters. 2002-12-09 18:59:07 +00:00
lukem e7c8b9a1ba fparseln issues 2002-12-04 12:50:43 +00:00
lukem 8b7fb4d514 bye bye SYS_INCLUDE=symlinks 2002-11-26 23:33:35 +00:00
thorpej 470625bc1c Note that libtool needs to be rebuilt after updating to a
crti/crtn-using C run-time.
2002-11-22 15:48:33 +00:00
thorpej ecce995e37 Note the ARM ELF "softvfp" object marking change, and the resulting
(somewhat minor) flag-day.
2002-11-21 18:05:59 +00:00
jschauma 6bef1ce544 Add a short blurb explaining that after the merge of the i386mp branch
people will need 'cpu* at mainbus?'.
2002-11-20 04:36:43 +00:00
provos 5ff67ded16 kernel update requires userland systrace recompile. 2002-10-11 21:55:48 +00:00
thorpej 18084f090a Yet Another config(8) Hazard. 2002-10-11 02:09:42 +00:00
wiz f40ce8cd84 mmm, bullding 2002-10-09 21:20:20 +00:00
thorpej cfc2b2b238 Note new attribute dependency syntax in config(8). 2002-10-09 20:27:59 +00:00
thorpej 6ac57eb6c3 Note that a new config is needed after the autoconfiguration overhaul. 2002-10-04 04:37:06 +00:00
lukem 57cdbb79cc MKDYNAMICROOT=yes; care needs to be taken if "make build" is not used 2002-09-24 14:43:39 +00:00
lukem bfbd50c55c USE_NEW_TOOLCHAIN has been replaced 2002-09-21 04:12:35 +00:00
gehenna 8b2e83ab0e Merge the gehenna-devsw branch into the trunk. 2002-09-06 13:55:43 +00:00
lukem b5f53318b6 /rescue/*, and a new crunchgen to ensure /rescue/* is statically linked 2002-08-24 13:25:01 +00:00
sommerfeld 83ec04ebe8 Revise 20010803 since i386 gas is no longer built where that entry
said it was.
2002-07-01 02:12:11 +00:00
enami 4645e82f97 Sync the sshd entry with etc/master.passwd. 2002-05-19 00:54:35 +00:00
jdolecek d3b63faa30 /var/chroot/sshd is used instead of /var/empty 2002-05-18 15:44:18 +00:00
itojun f47caddaf3 turn on privilege separation, as 3.2.1 default do.
requires sshd uid/gid as well as /var/empty directory.
2002-05-14 23:33:07 +00:00
sommerfeld 965e0acae4 Correct BUGS in BUILDING.mdoc now that most ports are USE_NEW_TOOLCHAIN
Obsolete NBUILDJOBS; build.sh just passes -jN through to make(1),
which inherits it cooperatively through the build tree.  Fix
documentation so that it's shown to be deprecated.

If you use build -jN, please save full build logs so that errors due
to missing dependancies can be analyzed and corrected.
2002-05-02 22:13:30 +00:00
lukem 9d32fc1a83 add postinstall info 2002-04-29 08:36:20 +00:00
lukem bb2f4a8f06 s/BSDSRCDIR/NETBSDSRCDIR/ 2002-04-26 15:54:41 +00:00
itojun e9220ac40f install(1) is at usr.bin/xinstall, which is not obvious 2002-04-10 05:26:15 +00:00
lukem 21c9e4ea28 <bsd.lib.mk> needs a new install(1) 2002-03-19 14:42:41 +00:00
itojun 7d3dd9d958 strict sa_len/family checking on raw ip6 socket 2002-03-19 01:23:32 +00:00
itojun 0a2445c3b6 move sshd config files to /etc/ssh 2002-03-11 04:57:55 +00:00
matt 68614d6129 Tell VAX people to update their gas so they can assemble -current sources. 2002-02-24 01:15:21 +00:00
wiz 0f4520b538 Typo and grammar fixes. 2002-02-23 17:06:24 +00:00
pooka 5079cbce00 libstdc++, not libstc++ 2002-02-23 11:06:53 +00:00
itojun 357474aa0a note addition of ntpd user/group. checked w/lukem 2002-01-30 06:54:55 +00:00
jmc 5cef5426cc Add note about how to work around reloc problems in groff now that the toolchain
fixes are commited.
2001-12-07 09:56:44 +00:00
jmc c824ed1c04 Forgot a word 2001-12-02 03:13:10 +00:00