]> git.ipfire.org Git - thirdparty/systemd.git/commit
bootctl: rework Boot Loader Entries section in status
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 20 May 2025 13:03:35 +0000 (15:03 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 20 May 2025 16:20:28 +0000 (18:20 +0200)
commite18745064831ed79fedb003bb6ca63b90b059760
tree94f94ec4a97b28775addd4961f9d109b8461a4fa
parent6479204e567cd55e1bfc5894131fba80ea68a780
bootctl: rework Boot Loader Entries section in status

Kernels are loaded from two partitions (XBOOTLDR and ESP). In the past this
wasn't always so, but a while ago the docs and the code were updated to load
from both locations. The $BOOT location specifies where to install only. So
rework the status output to print both locations and indicate which one is
$BOOT by appending ", $BOOT".

Also change the section title to "… Locations". We don't show *entries* here,
so the old title could be a bit confusing.

Example:
Boot Loader Entry Locations:
          ESP: /efi (/dev/disk/by-partuuid/31659406-5a17-46ec-8195-0dea1667db58)
     XBOOTLDR: /boot (/dev/disk/by-partuuid/4f8a8fe9-4b45-4070-9e9b-a681be51c902, $BOOT)
        token: fedora
src/bootctl/bootctl-status.c