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
boot.c Fix 'gpt boot' to work on disk devices and not just plain files. Writes to 2007-11-01 20:06:12 +00:00
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
label.c
Makefile
map.c
map.h
migrate.c
recover.c
remove.c
show.c