Re: [PATCH v9 2/6] luks2: Do not handle disks of size GRUB_DISK_SIZE_UNKNOWN for now

2020-12-16 Thread Daniel Kiper
On Tue, Dec 15, 2020 at 05:31:07PM -0600, Glenn Washburn wrote: > Check to make sure that source disk has a known size. If not, print debug > message and return error. There are 4 cases where GRUB_DISK_SIZE_UNKNOWN is > set (biosdisk, obdisk, ofdisk, and uboot), and in all those cases processing >

[PATCH v9 2/6] luks2: Do not handle disks of size GRUB_DISK_SIZE_UNKNOWN for now

2020-12-15 Thread Glenn Washburn
Check to make sure that source disk has a known size. If not, print debug message and return error. There are 4 cases where GRUB_DISK_SIZE_UNKNOWN is set (biosdisk, obdisk, ofdisk, and uboot), and in all those cases processing continues. So this is probably a bit conservative. However, 3 of the cas