Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Dec 2008 09:40:50 +0000 (UTC)
From:      Luigi Rizzo <luigi@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/sys/boot/i386/boot0 Makefile boot0.S
Message-ID:  <200812300941.mBU9f6QC064724@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
luigi       2008-12-30 09:40:50 UTC

  FreeBSD src repository

  Modified files:
    sys/boot/i386/boot0  Makefile boot0.S 
  Log:
  SVN rev 186598 on 2008-12-30 09:40:50Z by luigi
  
  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
  
  Revision  Changes    Path
  1.35      +1 -1      src/sys/boot/i386/boot0/Makefile
  1.22      +26 -27    src/sys/boot/i386/boot0/boot0.S



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200812300941.mBU9f6QC064724>