[Top][All Lists]

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

[PATCH v5 0/3] search: new --efidisk-only option on EFI systems

From: Renaud Métrich
Subject: [PATCH v5 0/3] search: new --efidisk-only option on EFI systems
Date: Mon, 7 Mar 2022 11:06:17 +0100

When using 'search' on EFI systems, we sometimes want to exclude devices
that are not EFI disks (e.g. md, lvm).
This is typically used when wanting to chainload when having a software
raid (md) for EFI partition:
with no option, 'search --file /EFI/redhat/shimx64.efi' sets root envvar
to 'md/boot_efi' which cannot be used for chainloading since there is no
effective EFI device behind.

This set of patches also refactor handling of --no-floppy option.

Changes in this version compared to reviewed one (PATCH v3, by Daniel):

- split --no-floppy refactoring (patch 2/3)
- fixed unitialized declaration of stack variable 'flags' (patch 2/3)
- documented --efidisk-only option (patch 3/3)

reply via email to

[Prev in Thread] Current Thread [Next in Thread]