On Tue, Oct 13, 2020 at 12:15:58AM +0900, Izumi Tsutsui wrote: > IIRC I added it to avoid users from accidentally destroy existing native > Windows partition (for NetBSD/arc that initially required FAT partition).
I see. If needed we can add more safety checks when setting the newfs flag (like we do in other places: silently run fsck_$fs -p) - but the way it was now caused tricky fallout when the kernel was able to mount the new EFI boot partition (due to a previous FAT partition starting at the same spot), but copying the EFI bootloaders failed. Martin