NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: bin/49510: gpt(8) fails w/o drvctl and breaks sysinst



On Mon, Dec 29, 2014 at 02:05:01AM +0000, John Nemeth wrote:
>       I disagree that this is a bug in gpt(8).  Every INSTALL kernel
>  where gpt(8) is going to be used should have drvctl, or gpt(8)
>  shouldn't be used.

Yes, sysinst should not try to find out wether a disk has a GPT by invoking
gpt(8), as that tool is obviously not up to the task.

I would change it to just open the disk, read a few kb and check the GPT
(master copy) signature, but others claim this would violate the UEFI
spec that forces us to check the backup copy.

Martin


Home | Main Index | Thread Index | Old Index