cvs commit: src/sys/geom/part g_part_mbr.c

Marcel Moolenaar marcel at FreeBSD.org
Fri Feb 29 22:41:37 UTC 2008


marcel      2008-02-29 22:41:36 UTC

  FreeBSD src repository

  Modified files:
    sys/geom/part        g_part_mbr.c 
  Log:
  Follow-up improvements to the handling of false positives: If the
  partition table is empty, check to see if we have something that
  looks sufficiently like a BPB. On non-i386 machines, the boot
  sector typically doesn't contain boot code; the end of the boot
  sector is all zeroes. This is also where the partition table is
  for MBRs.
  We only check the sector size and cluster size, as that seems to
  be the most reliable across implementations, BPB versions and
  platforms.
  
  Revision  Changes    Path
  1.4       +32 -3     src/sys/geom/part/g_part_mbr.c


More information about the cvs-src mailing list