summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2014-03-13 01:06:41 +0100
committerLennart Poettering <lennart@poettering.net>2014-03-13 01:06:41 +0100
commit8d0cfd6c8858d4f32d1eda122eb5a61e96e6ac54 (patch)
tree958a5e2ca1742205eba6c46b10a53346b98fd7e1 /src
parentfa041593fe04b12ffd7e81d8b3598a7a6f313fb3 (diff)
gpt-auto-generator: there's no point in looking for a superblock on raw disk, we only care for a partition table
Diffstat (limited to 'src')
-rw-r--r--src/gpt-auto-generator/gpt-auto-generator.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/gpt-auto-generator/gpt-auto-generator.c b/src/gpt-auto-generator/gpt-auto-generator.c
index 4927919b81..78643c9a3c 100644
--- a/src/gpt-auto-generator/gpt-auto-generator.c
+++ b/src/gpt-auto-generator/gpt-auto-generator.c
@@ -436,8 +436,6 @@ static int enumerate_partitions(dev_t devnum) {
return -errno;
}
- blkid_probe_enable_superblocks(b, 1);
- blkid_probe_set_superblocks_flags(b, BLKID_SUBLKS_TYPE);
blkid_probe_enable_partitions(b, 1);
blkid_probe_set_partitions_flags(b, BLKID_PARTS_ENTRY_DETAILS);