summaryrefslogtreecommitdiffstats
path: root/perl-install/partition_table.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-12-18 09:35:05 +0000
committerThierry Vignaud <tv@mandriva.org>2008-12-18 09:35:05 +0000
commit4b0e7d3fd654938d3cd435e66514d169898e3012 (patch)
tree6f9df3999e643eef6ff395fba5d1d82d48187394 /perl-install/partition_table.pm
parentef348b1b6a172929aceeab109f9d5b96fa7f8cf8 (diff)
downloaddrakx-backup-do-not-use-4b0e7d3fd654938d3cd435e66514d169898e3012.tar
drakx-backup-do-not-use-4b0e7d3fd654938d3cd435e66514d169898e3012.tar.gz
drakx-backup-do-not-use-4b0e7d3fd654938d3cd435e66514d169898e3012.tar.bz2
drakx-backup-do-not-use-4b0e7d3fd654938d3cd435e66514d169898e3012.tar.xz
drakx-backup-do-not-use-4b0e7d3fd654938d3cd435e66514d169898e3012.zip
(write) 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+)
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 {