History log of /src/sys/arch/prep/stand/installboot/installboot.c |
Revision | | Date | Author | Comments |
1.8 |
| 18-Mar-2009 |
cegger | Ansify function definitions w/o arguments. Generated with sed.
|
1.7 |
| 11-Dec-2005 |
christos | branches: 1.7.78; 1.7.86; 1.7.92; merge ktrace-lwp.
|
1.6 |
| 04-Dec-2003 |
keihan | netbsd.org -> NetBSD.org
All "netbsd.org" is now gone from src/sys/arch.
|
1.5 |
| 08-Oct-2003 |
lukem | 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!).
|
1.4 |
| 06-Oct-2003 |
he | Include <string.h> for memset and memcmp prototypes.
|
1.3 |
| 17-Mar-2002 |
nonaka | branches: 1.3.12; Already MBR_PTYPE_PREP is defined in sys/disklabel_mbr.h.
|
1.2 |
| 19-Feb-2001 |
cgd | branches: 1.2.4; 1.2.8; convert to use getprogname()
|
1.1 |
| 18-Sep-2000 |
nonaka | branches: 1.1.2; 1.1.4; Added installboot program.
|
1.1.4.3 |
| 12-Mar-2001 |
bouyer | Sync with HEAD.
|
1.1.4.2 |
| 20-Nov-2000 |
bouyer | Update thorpej_scsipi to -current as of a month ago A i386 GENERIC kernel compiles without the siop, ahc and bha drivers (will be updated later). i386 IDE/ATAPI and ncr work, as well as sparc/esp_sbus. alpha should work as well (untested yet). siop, ahc and bha will be updated once I've updated the branch to current -current, as well as machine-dependant code.
|
1.1.4.1 |
| 18-Sep-2000 |
bouyer | file installboot.c was added on branch thorpej_scsipi on 2000-11-20 20:23:11 +0000
|
1.1.2.2 |
| 20-Sep-2000 |
nonaka | Pull up (approved by thorpej)
- Added installboot program.
|
1.1.2.1 |
| 18-Sep-2000 |
nonaka | file installboot.c was added on branch netbsd-1-5 on 2000-09-20 13:58:05 +0000
|
1.2.8.1 |
| 01-Apr-2002 |
nathanw | Catch up to -current. (CVS: It's not just a program. It's an adventure!)
|
1.2.4.1 |
| 23-Jun-2002 |
jdolecek | catch up with -current on kqueue branch
|
1.3.12.3 |
| 21-Sep-2004 |
skrll | Fix the sync with head I botched.
|
1.3.12.2 |
| 18-Sep-2004 |
skrll | Sync with HEAD.
|
1.3.12.1 |
| 03-Aug-2004 |
skrll | Sync with HEAD
|
1.7.92.1 |
| 13-May-2009 |
jym | Sync with HEAD.
Commit is split, to avoid a "too many arguments" protocol error.
|
1.7.86.1 |
| 28-Apr-2009 |
skrll | Sync with HEAD.
|
1.7.78.1 |
| 04-May-2009 |
yamt | sync with head.
|