freebsd-dev/sbin/gpt
John Baldwin 926f079146 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
2007-11-01 20:51:04 +00:00
..
add.c First cut at support for booting a GPT labeled disk via the BIOS bootstrap 2007-10-24 21:33:00 +00:00
boot.c
create.c
destroy.c
gpt.8
gpt.c Don't look for GPT primary and secondary tables on a disk unless we have 2007-11-01 20:51:04 +00:00
gpt.h First cut at support for booting a GPT labeled disk via the BIOS bootstrap 2007-10-24 21:33:00 +00:00
label.c Use strtoll(3) instead of strtol(3) for the starting block or 2006-10-04 18:20:25 +00:00
Makefile
map.c /* -> /*- for license. 2005-08-31 01:47:19 +00:00
map.h /* -> /*- for license. 2005-08-31 01:47:19 +00:00
migrate.c
recover.c
remove.c
show.c