]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
Add an extra debug log to dissect_image()
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Thu, 19 Sep 2024 12:53:53 +0000 (14:53 +0200)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Fri, 20 Sep 2024 20:38:20 +0000 (05:38 +0900)
src/shared/dissect-image.c

index a538425c1f968ea6bff74aeac4750d2023f68cd4..4585582523d815baab893ab8bed1732ec31f9d3a 100644 (file)
@@ -1001,6 +1001,9 @@ static int dissect_image(
 
                         label = blkid_partition_get_name(pp); /* libblkid returns NULL here if empty */
 
+                        log_debug("Dissecting %s partition with label %s and UUID %s",
+                                  strna(partition_designator_to_string(type.designator)), strna(label), SD_ID128_TO_UUID_STRING(id));
+
                         if (IN_SET(type.designator,
                                    PARTITION_HOME,
                                    PARTITION_SRV,