]> git.ipfire.org Git - thirdparty/systemd.git/commit
bootctl: prettify tree output of discovered boot loaders a bit
authorLennart Poettering <lennart@poettering.net>
Wed, 27 Jul 2022 15:23:25 +0000 (17:23 +0200)
committerLennart Poettering <lennart@poettering.net>
Tue, 2 Aug 2022 08:28:49 +0000 (10:28 +0200)
commit84be9b63ebac1d320b1e39ccf6e0895e621af887
tree7b20e00258deb6cbe208164fa5fe965205ea62fb
parentcb180369f150fe11d8853a1ee54bbc873fdc64bd
bootctl: prettify tree output of discovered boot loaders a bit

Previously, the tree output of discovered boot laoders in the ESP would
look like this:

Available Boot Loaders on ESP:
          ESP: /efi (/dev/disk/by-partuuid/0c6f41ed-2573-4723-8c84-23681f9d1c28)
         File: └─/EFI/systemd/systemd-bootx64.efi (systemd-boot v250.7-1.fc36)
         File: └─/EFI/BOOT/BOOTX64.EFI (systemd-boot v250.7-1.fc36)

With this change the tree branches are corrected to look like this:

Available Boot Loaders on ESP:
          ESP: /efi (/dev/disk/by-partuuid/0c6f41ed-2573-4723-8c84-23681f9d1c28)
         File: ├─/EFI/systemd/systemd-bootx64.efi (systemd-boot v250.7-1.fc36)
               └─/EFI/BOOT/BOOTX64.EFI (systemd-boot v250.7-1.fc36)

Ahhh! So much nicer. This incorrect tree drawing has been bugging me for
so long. Finally I can sleep at night again!
src/boot/bootctl.c