From c8d8767aa3dfeb049fd662080ac8cf2a7075ca56 Mon Sep 17 00:00:00 2001 From: Francois Pons Date: Fri, 23 Jun 2000 13:03:19 +0000 Subject: *** empty log message *** --- perl-install/partition_table_sun.pm | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'perl-install/partition_table_sun.pm') 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; } -- cgit v1.2.1