mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-01-08 21:17:47 +03:00
gpt-auto-generator: there's no point in looking for a superblock on raw disk, we only care for a partition table
This commit is contained in:
parent
fa041593fe
commit
8d0cfd6c88
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user