summaryrefslogtreecommitdiffstats
path: root/perl-install/partition_table.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/partition_table.pm')
-rw-r--r--perl-install/partition_table.pm3
1 files changed, 3 insertions, 0 deletions
diff --git a/perl-install/partition_table.pm b/perl-install/partition_table.pm
index 38f4a720a..d33387c3d 100644
--- a/perl-install/partition_table.pm
+++ b/perl-install/partition_table.pm
@@ -453,6 +453,9 @@ sub write {
tell_kernel($hd, $tell_kernel);
}
}
+ # get major/minor again after writing the partition table so that we got them for dynamic devices
+ # (eg: for SCSI like devices with kernel-2.6.28+):
+ fs::get_major_minor([ get_normal_parts($hd) ]);
}
sub active {