Re: [PATCH] search: Support searching for GPT partition label with --part-label

2020-11-23 Thread Daniel Wagenknecht
Hi, > Previous related/similar patch > > https://lists.gnu.org/archive/html/grub-devel/2020-11/msg00011.html thanks! I saw that one and adapted my patch to mostly match that one, so it can be rebased and maybe unified like done for the search functions for fs_label/fs_uuid. I'd be interested in f

Re: [PATCH] search: Support searching for GPT partition label with --part-label

2020-11-23 Thread Dmitry
FYI Previous related/similar patch https://lists.gnu.org/archive/html/grub-devel/2020-11/msg00011.html Thanks, Dmitry вт, 24 нояб. 2020 г. в 01:08, Daniel Wagenknecht : > > GPT partitions have a name property that is useable for identifying the > partition in Linux via root=PARTLABEL= boot argum

[PATCH] search: Support searching for GPT partition label with --part-label

2020-11-23 Thread Daniel Wagenknecht
GPT partitions have a name property that is useable for identifying the partition in Linux via root=PARTLABEL= boot argument or via /dev/disk/by-partlabel/. Add support for searching for it in GRUB. Compared to the fs label, the partition label does not change when reformatting a partition. Signed

Re: [PATCH v2 0/2] error: Do compile-time format string checking on grub_error.

2020-11-23 Thread Glenn Washburn
On Sat, 7 Nov 2020 23:26:17 -0600 Glenn Washburn wrote: > I've separated this into two patches from the previous one, but > nothing else has changed (except the commit message). I think at > least the first patch should be applied. Since I don't have a setup > to test every architecture+platform

[PATCH] fs: Fix block lists not being able to address to end of disk sometimes

2020-11-23 Thread Glenn Washburn
When checking if a block list goes past the end of the disk, make sure the total size of the disk is in grub native sector sizes, otherwise there will be blocks at the end of the disk unaccessible by block lists. Signed-off-by: Glenn Washburn --- grub-core/kern/fs.c | 4 +++- 1 file changed, 3 i