From 4b0e7d3fd654938d3cd435e66514d169898e3012 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Thu, 18 Dec 2008 09:35:05 +0000 Subject: (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+) --- perl-install/partition_table.pm | 3 +++ 1 file changed, 3 insertions(+) (limited to 'perl-install/partition_table.pm') 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 { -- cgit v1.2.1