Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Feb 2008 22:41:36 +0000 (UTC)
From:      Marcel Moolenaar <marcel@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/geom/part g_part_mbr.c
Message-ID:  <200802292241.m1TMfao0014382@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



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