diff options
author | Thierry Vignaud <tv@mandriva.org> | 2008-12-18 09:35:05 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2008-12-18 09:35:05 +0000 |
commit | 4b0e7d3fd654938d3cd435e66514d169898e3012 (patch) | |
tree | 6f9df3999e643eef6ff395fba5d1d82d48187394 | |
parent | ef348b1b6a172929aceeab109f9d5b96fa7f8cf8 (diff) | |
download | drakx-4b0e7d3fd654938d3cd435e66514d169898e3012.tar drakx-4b0e7d3fd654938d3cd435e66514d169898e3012.tar.gz drakx-4b0e7d3fd654938d3cd435e66514d169898e3012.tar.bz2 drakx-4b0e7d3fd654938d3cd435e66514d169898e3012.tar.xz drakx-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+)
-rw-r--r-- | perl-install/partition_table.pm | 3 |
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 { |