CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2015/02/09 18:20:10
Modified files:
sbin/fdisk : cmd.c mbr.c mbr.h
Log message:
If 'write' is issued after a 'reinit' command, and the MBR to be
written does not contain an EFI partition, zap any GPT signature
found on the 2nd (LBA 1) and last sectors on the disk. The install
script uses this sequence.
This is a temporary workaround until more GPT support is imported
post-5.7.
Should fix at least some machines who insist on using the GPT even
after we have overritten the 'protective' MBR.
ok deraadt@ tedu@ beck@ millert@