]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
repart: Don't log partition number when populating filesystem
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Thu, 13 Oct 2022 12:02:39 +0000 (14:02 +0200)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Fri, 11 Nov 2022 12:49:50 +0000 (13:49 +0100)
This might not be known yet so let's use the filesystem itself
instead.

src/partition/repart.c

index c917d5ded510ec511f8efd8ce5146089d08df270..7140f8a7fb2af10d90d24788c9717c52cf368533 100644 (file)
@@ -3404,7 +3404,7 @@ static int partition_populate_filesystem(Partition *p, const char *node, const S
                 node = d->node;
         }
 
-        log_info("Populating partition %" PRIu64 " with files.", p->partno);
+        log_info("Populating %s filesystem with files.", p->format);
 
         /* We copy in a child process, since we have to mount the fs for that, and we don't want that fs to
          * appear in the host namespace. Hence we fork a child that has its own file system namespace and
@@ -3441,7 +3441,7 @@ static int partition_populate_filesystem(Partition *p, const char *node, const S
                 _exit(EXIT_SUCCESS);
         }
 
-        log_info("Successfully populated partition %" PRIu64 " with files.", p->partno);
+        log_info("Successfully populated %s filesystem with files.", p->format);
         return 0;
 }