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 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 First cut at support for booting a GPT labeled disk via the BIOS bootstrap 2007-10-24 21:33:00 +00:00
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 First cut at support for booting a GPT labeled disk via the BIOS bootstrap 2007-10-24 21:33:00 +00:00
map.c
map.h
migrate.c
recover.c
remove.c Use strtoll(3) instead of strtol(3) for the starting block or 2006-10-04 18:20:25 +00:00
show.c First cut at support for booting a GPT labeled disk via the BIOS bootstrap 2007-10-24 21:33:00 +00:00