]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/gpt-auto-generator/gpt-auto-generator.c
Merge pull request #10912 from poettering/gpt-root-rw
[thirdparty/systemd.git] / src / gpt-auto-generator / gpt-auto-generator.c
index c6a801389e897ea6388b7c9cf9e042bc36bf6fd2..d9e29c47f374c5b907de056a3c4ed584cbca163a 100644 (file)
@@ -555,7 +555,7 @@ static int enumerate_partitions(dev_t devnum) {
         if (r <= 0)
                 return r;
 
-        r = dissect_image(fd, NULL, 0, DISSECT_IMAGE_GPT_ONLY, &m);
+        r = dissect_image(fd, NULL, 0, DISSECT_IMAGE_GPT_ONLY|DISSECT_IMAGE_NO_UDEV, &m);
         if (r == -ENOPKG) {
                 log_debug_errno(r, "No suitable partition table found, ignoring.");
                 return 0;