summaryrefslogtreecommitdiffstats
path: root/perl-install/partition_table_sun.pm
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2000-06-23 13:03:19 +0000
committerFrancois Pons <fpons@mandriva.com>2000-06-23 13:03:19 +0000
commitc8d8767aa3dfeb049fd662080ac8cf2a7075ca56 (patch)
treee424b6ad6a2f2142554bee44cedd04d5016de938 /perl-install/partition_table_sun.pm
parentb8820f0b8f1a137b9baa11b76626ad79e47cb707 (diff)
downloaddrakx-c8d8767aa3dfeb049fd662080ac8cf2a7075ca56.tar
drakx-c8d8767aa3dfeb049fd662080ac8cf2a7075ca56.tar.gz
drakx-c8d8767aa3dfeb049fd662080ac8cf2a7075ca56.tar.bz2
drakx-c8d8767aa3dfeb049fd662080ac8cf2a7075ca56.tar.xz
drakx-c8d8767aa3dfeb049fd662080ac8cf2a7075ca56.zip
*** empty log message ***
Diffstat (limited to 'perl-install/partition_table_sun.pm')
-rw-r--r--perl-install/partition_table_sun.pm8
1 files changed, 2 insertions, 6 deletions
diff --git a/perl-install/partition_table_sun.pm b/perl-install/partition_table_sun.pm
index c2f8ce9e9..55c3ab775 100644
--- a/perl-install/partition_table_sun.pm
+++ b/perl-install/partition_table_sun.pm
@@ -45,13 +45,9 @@ sub adjustStart($$) {
#- since partition must always start on cylinders boundaries on sparc,
#- note that if start sector is on the first cylinder, it is adjusted
- #- to 0 and it is valid, maybe not in fact, problem with Sun disk label.
- #- IT COULD HURT IF STARTING AT 0, MAYBE THERE ARE SOME FLAGS FOR EXT2
- #- TO AVOID WRITING ANYTHING ON THE FIRST 1024 BYTES OF DISK, ELSE PROM
- #- MAY ERASE EVERYTHING... TO BE CHECKED LATER.
- #- so now, starting on cylinder 1 is perfect altough it waste some disk space !
+ #- to 0 and it is valid, cylinder 0 bug is from bad define for sparc
+ #- compilation of mke2fs combined with a blind kernel...
$part->{start} = round_down($part->{start}, $hd->cylinder_size());
- $part->{start} = $hd->cylinder_size() if $part->{start} == 0;
$part->{size} = $end - $part->{start};
$part->{size} = $hd->cylinder_size() if $part->{size} <= 0;
}