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 /* -> /*- for license. 2005-08-31 01:47:19 +00:00
destroy.c /* -> /*- for license. 2005-08-31 01:47:19 +00:00
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 /* -> /*- for license. 2005-08-31 01:47:19 +00:00
map.h /* -> /*- for license. 2005-08-31 01:47:19 +00:00
migrate.c Dot the i's: multiple devices can be specified, so the usage should 2005-09-01 02:42:52 +00:00
recover.c /* -> /*- for license. 2005-08-31 01:47:19 +00:00
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