diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2007-08-06 11:21:09 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2007-08-06 11:21:09 +0000 |
commit | de4f752c310da49cfe15cc9cc90886354511b5cc (patch) | |
tree | d705e015afe68d2f4e341a895e9129765f9f7d0d /perl-install/install/steps_interactive.pm | |
parent | eb80eb7030821b34ee0da643724e7cfff4194b47 (diff) | |
download | drakx-backup-do-not-use-de4f752c310da49cfe15cc9cc90886354511b5cc.tar drakx-backup-do-not-use-de4f752c310da49cfe15cc9cc90886354511b5cc.tar.gz drakx-backup-do-not-use-de4f752c310da49cfe15cc9cc90886354511b5cc.tar.bz2 drakx-backup-do-not-use-de4f752c310da49cfe15cc9cc90886354511b5cc.tar.xz drakx-backup-do-not-use-de4f752c310da49cfe15cc9cc90886354511b5cc.zip |
- fix range max value >2TB when creating a partition (useful for LVs >2TB)
nb: >> 11 and << 11 doesn't work on floats which we use to handle >2TB
partitions. perl floats are precise enough up until 512TB
Diffstat (limited to 'perl-install/install/steps_interactive.pm')
-rw-r--r-- | perl-install/install/steps_interactive.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/install/steps_interactive.pm b/perl-install/install/steps_interactive.pm index 5a1deb0b3..3f8e9bd0f 100644 --- a/perl-install/install/steps_interactive.pm +++ b/perl-install/install/steps_interactive.pm @@ -212,7 +212,7 @@ sub doPartitionDisks { log::l("creating bootstrap partition on drive /dev/$freepart->{hd}{device}, block $freepart->{start}"); $partition_table::mac::bootstrap_part = $freepart->{part}; log::l("bootstrap now at $partition_table::mac::bootstrap_part"); - my $p = { start => $freepart->{start}, size => 1 << 11, mntpoint => '' }; + my $p = { start => $freepart->{start}, size => MB(1), mntpoint => '' }; fs::type::set_pt_type($p, 0x401); fsedit::add($freepart->{hd}, $p, $o->{all_hds}, { force => 1, primaryOrExtended => 'Primary' }); $partition_table::mac::new_bootstrap = 1; |