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)
committerLuca Boccassi <luca.boccassi@gmail.com>
Tue, 8 Oct 2024 15:39:12 +0000 (16:39 +0100)
(cherry picked from commit 0121b84e41cd187e44c275a23db1a656656ec37f)

src/shared/dissect-image.c

index 6a3901000e4e48e7e5acf636b96a3fb56b1c154c..59a4ccf770cd3df954d7c7c6e948855c3c61d13b 100644 (file)
@@ -999,6 +999,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,