summaryrefslogtreecommitdiff
path: root/src/boot/bootctl.c
diff options
context:
space:
mode:
authorKay Sievers <kay@vrfy.org>2013-02-11 23:19:31 +0100
committerKay Sievers <kay@vrfy.org>2013-02-11 23:20:02 +0100
commitabb381b3b3a169a0cd6015c02f21f6032a78a873 (patch)
tree0ececfdd7ccba7d2b2367f6de4303ba4ea774d5a /src/boot/bootctl.c
parent0c4025d14201a46a1ce09ef5e266f8f81c47b22f (diff)
bootctl: print partition uuids as /dev/disk/by-partuuid/...
Diffstat (limited to 'src/boot/bootctl.c')
-rw-r--r--src/boot/bootctl.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/boot/bootctl.c b/src/boot/bootctl.c
index 641546bc08..2f1f6438cd 100644
--- a/src/boot/bootctl.c
+++ b/src/boot/bootctl.c
@@ -153,14 +153,16 @@ static int show_status(char **args, unsigned n) {
if (info->fw_entries[info->fw_entry_active].path)
printf(" %s\n", info->fw_entries[info->fw_entry_active].path);
if (!sd_id128_equal(info->fw_entries[info->fw_entry_active].part_uuid, SD_ID128_NULL))
- printf(" %s\n", sd_id128_to_string(info->fw_entries[info->fw_entry_active].part_uuid, buf));
+ printf(" /dev/disk/by-partuuid/%02x%02x%02x%02x-%02x%02x-%02x%02x-%02x%02x-%02x%02x%02x%02x%02x%02x\n",
+ SD_ID128_FORMAT_VAL(info->fw_entries[info->fw_entry_active].part_uuid));
}
if (info->loader) {
printf(" Loader: %s\n", info->loader);
printf(" %s\n", strna(info->loader_image_path));
if (!sd_id128_equal(info->loader_part_uuid, SD_ID128_NULL))
- printf(" %s\n", sd_id128_to_string(info->loader_part_uuid, buf));
+ printf(" /dev/disk/by-partuuid/%02x%02x%02x%02x-%02x%02x-%02x%02x-%02x%02x-%02x%02x%02x%02x%02x%02x\n",
+ SD_ID128_FORMAT_VAL(info->loader_part_uuid));
if (info->loader_entry_active >= 0) {
printf(" Loader entry: %s\n", info->loader_entries[info->loader_entry_active].title);