docs/grub.texi: Fix build warnings in libgcrypt and blsuki doc
A message that is not in the archive (sent off-list or not yet received): [email protected]
Avnish Chouhan
Reviewed-byQuoted 13 lines · On 2025-09-16 17:33, [email protected] wrote:
Message: 1
Date: Mon, 15 Sep 2025 11:58:32 -0500
From: Andrew Hamilton <[email protected]>
To: The development of GNU GRUB <[email protected]>
Cc: [email protected], [email protected],
[email protected], [email protected], [email protected], [email protected]
Subject: Re: [PATCH] docs/grub.texi: Fix build warnings in libgcrypt
and blsuki doc
Message-ID:
<CA+04=DaRWxJQ5bfs4knb2iCy1tmBvqTOUN8rUuWyzfWGQcY2EQ@mail.gmail.com>
Content-Type: text/plain; charset="UTF-8"
Quoted 3 lines
Looks good to me.
Reviewed-by Andrew Hamilton <[email protected]>
_______________________________________________
Grub-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/grub-devel
Avnish Chouhan
Reviewed-byRe: [PATCH] getroot: Skip mount points in grub_find_device
In reply to a message not in the archiveQuoted 15 lines · On 2025-09-16 17:33, [email protected] wrote:
Message: 3
Date: Tue, 16 Sep 2025 14:38:05 +0800
From: Michael Chang <[email protected]>
To: The development of GNU GRUB <[email protected]>
Subject: [PATCH] getroot: Skip mount points ingrub_find_device
Message-ID: <[email protected]>The
grub_find_devicefunction scans a starting directory, typically /dev, for device files with matching major and minor numbers. During this process, it recursively descends into subdirectories.However, this can significantly slow down the scan if a subdirectory is a mount point not related to devtmpfs, especially if it contains a large number of files.
Quoted 7 lines
This patch modifies
grub_find_device()to skip subdirectories that are mount points. A mount point is detected by comparing thest_devof the subdirectory against that of the parent or starting directory. While this method does not catch all types of mounts, for eg bind mounts, it is a practical solution that avoids the need to parse/proc/self/mounts.Signed-off-by Michael Chang <[email protected]>
_______________________________________________
Grub-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/grub-devel