CVSROOT: /cvs Module name: src Changes by: k...@cvs.openbsd.org 2021/06/16 09:40:48
Modified files: sbin/fdisk : cmd.c fdisk.8 gpt.c gpt.h mbr.c mbr.h Log message: Ensure that the '-i' command line option and the 'reinit [mbr]' editing commnd completely remove any existing on-disk GPT header when writing the MBR. '-ig'/'reinit gpt' must be used to create GPT format. Previous interactions between '-i', '-b' and overly clever 'reinit' produced surprising, inconsistent and incorrect behaviour. ok deraadt@ kettenis@