diff options
author | luigi <luigi@FreeBSD.org> | 2008-12-30 09:40:50 +0000 |
---|---|---|
committer | luigi <luigi@FreeBSD.org> | 2008-12-30 09:40:50 +0000 |
commit | 9b90a7e39ef854e7eab5756d2072da1010aee5d7 (patch) | |
tree | 1d3b9f03b4fa55a1a88a45dc77a421e68b6a22eb /gnu | |
parent | 4dc7d8d63bb23b504db5b2fed51db445b5b94532 (diff) | |
download | FreeBSD-src-9b90a7e39ef854e7eab5756d2072da1010aee5d7.zip FreeBSD-src-9b90a7e39ef854e7eab5756d2072da1010aee5d7.tar.gz |
A number of small changes to make the 'save choice to disk' safer,
and re-enable it as default.
In particular:
+ re-enable the 'update' flag in the Makefile (of course!);
+ commit Warner's patch "orb $NOUPDATE,_FLAGS(%bp)"
to avoid writing to disk in case of a timeout/default choice;
+ fix an off-by-one count in the partition scan code that would
print the wrong name for unknown partitions;
+ unconditionally change the boot prompt to 'Boot:' instead of 'Default:'
to make room for the extra code/checks/messages. Some of the changes
listed below are also made to save space;
+ rearrange and fix comments for known partition types. Right now we
explicitly recognise *BSD, Linux, FAT16 (type 6, used on many USB keys),
NTFS (type 7), FAT32 (type 11).
Depending on other options we also recognise Extended (type 5),
FAT12 (type 1) and FAT16 < 32MB (type 4).
+ Add an entry "F6 PXE" when the code is built with -DPXE (which is
a default now). Technically, F6 boots through INT18, so the prompt 'PXE'
is a bit misleading. Unfortunately the name INT18
is too long and does not fit in - we could use ROM perhaps.
The reason I picked 'PXE' is that on many (I believe) new systems
INT18 calls PXE.
Apart from the choice of the name for PXE/ROM/INT18, this should close
pending issues on the 1-sector boot0 code and we should be able to
move the code to RELENG_7 when it reopens.
No boot0cfg changes are necessary.
MFC after: 3 weeks
Diffstat (limited to 'gnu')
0 files changed, 0 insertions, 0 deletions