]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r292057:
authorae <ae@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sun, 10 Jan 2016 13:53:57 +0000 (13:53 +0000)
committerae <ae@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sun, 10 Jan 2016 13:53:57 +0000 (13:53 +0000)
commit2c0227d212bf86a2c7bea437c46b2f7e8bbb695c
tree51330d250c62d20d1fbc444485aa78943e7ce23d
parent4d79713b45f0775fd4b7146daedce24b0ef41fb1
MFC r292057:
  Make detection of GPT a bit more reliable.

  When we are detecting a partition table and didn't find PMBR, try to
  read backup GPT header from the last sector and if it is correct,
  assume that we have GPT.

  Differential Revision: https://reviews.freebsd.org/D4282

MFC r292058:
  Remove a note about damaged PMBR. Now GPT will be detected automatically
  with such corruption.

Relnotes: yes

git-svn-id: svn://svn.freebsd.org/base/stable/10@293634 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sbin/geom/class/part/gpart.8
sys/boot/common/part.c
sys/geom/part/g_part_gpt.c