diff options
author | jhb <jhb@FreeBSD.org> | 2007-11-01 20:51:04 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2007-11-01 20:51:04 +0000 |
commit | 75e6e577d51ead9da09eb80e6a4e62a2e7155bb0 (patch) | |
tree | ab38b34a4349dfb0f2c514d8e746af5b72c9ce73 /usr.bin/calendar | |
parent | 87794d6837b0161e56f0975715be721f87ed0e83 (diff) | |
download | FreeBSD-src-75e6e577d51ead9da09eb80e6a4e62a2e7155bb0.zip FreeBSD-src-75e6e577d51ead9da09eb80e6a4e62a2e7155bb0.tar.gz |
Don't look for GPT primary and secondary tables on a disk unless we have
a valid PMBR. Without this fix, if label a disk with a GPT, then relabel
it with an MBR the GPT tables are still present. If you then try to create
a GPT with 'gpt create', gpt(8) will fail to open the device because the
partitions in the stale GPT overlap with the slices in the MBR.
MFC after: 1 week
Diffstat (limited to 'usr.bin/calendar')
0 files changed, 0 insertions, 0 deletions