cvs commit: src/sys/geom geom_pc98.c

Warner Losh imp at FreeBSD.org
Tue Nov 30 00:00:15 PST 2004


imp         2004-11-30 08:00:14 UTC

  FreeBSD src repository

  Modified files:
    sys/geom             geom_pc98.c 
  Log:
  Reject tasting of this provider if the sector size isn't a multiple of
  512.  If I had an audio cdrom in my cd player when I booted my system,
  I'd get a panic from geom because you can't read 8192 bytes from an
  audio cdrom.
  
  Remove XXX comment about IPL1 and replace it with some information
  from my soon to be published web page on the pc98 disk layout.  The
  IPL1 test was the result of an observation of a disk with FreeBSD's
  boot0 program.  It was testing part of an area what appears to be
  reserved for a boot loader name, which comes after a jump over this
  area.  I don't yet know if it is required to be any specific jump
  instruction, or if the destination has to be location 11. [1]
  
  [1] FreeBSD Press No. 13, page 115, poorly translated by myself.  The
  picture there shows offset 8 as the destination of the jump, but
  FreeBSD's boot0 program has three padding NULs after the IPL1 name and
  uses a 16-bit 'jmp' instruction.
  
  Revision  Changes    Path
  1.50      +6 -3      src/sys/geom/geom_pc98.c


More information about the cvs-all mailing list