Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 Mar 1995 04:07:33 -0800
From:      Bruce Evans <bde>
To:        CVS-commiters, cvs-sys
Subject:   cvs commit: src/sys/i386/isa diskslice_machdep.c
Message-ID:  <199503251207.EAA20994@freefall.cdrom.com>

next in thread | raw e-mail | index | archive | help
bde         95/03/25 04:07:32

  Modified:    sys/i386/isa diskslice_machdep.c
  Log:
  Add more compatibility cruft:
  - ignore the partition table if it is identical with the bogus one in
  /usr/src/sys/i386/boot/biosboot/start.S.  Honoring the bogus size
  field was fatal.  The error is detected but other compatibilty
  cruft weakens the error handling too much for this case.
  - weaken the partition entry checking to allow the following treatments
  of C/H/S addresses when C should be >= 1024:
  (1) allow C = 1023, H = max, S = max.
  (2) allow C to be correct modulo 1024.
  Other compatibilty cruft weakens the error handling to allow all
  C/H/S addresses, but there too many errors were reported.
  
  Improve error messages:
  - print C/H/S addresses if relevant.
  - distinguish primary partition table from extended partition tables.
  - don't use diskerr() except for i/o errors.



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