From 4679ec8bf83ef95a1b1e3f3c61dd21ceaab315ce Mon Sep 17 00:00:00 2001 From: Francois Pons Date: Tue, 16 May 2000 13:18:31 +0000 Subject: *** empty log message *** --- perl-install/partition_table_raw.pm | 1 + 1 file changed, 1 insertion(+) (limited to 'perl-install/partition_table_raw.pm') diff --git a/perl-install/partition_table_raw.pm b/perl-install/partition_table_raw.pm index 45fbdd424..7b886a1f8 100644 --- a/perl-install/partition_table_raw.pm +++ b/perl-install/partition_table_raw.pm @@ -78,6 +78,7 @@ sub get_geometry($) { local *F; sysopen F, $dev, 0 or return; ioctl(F, c::HDIO_GETGEO(), $g) or return; my %geom; @geom{qw(heads sectors cylinders start)} = unpack "CCSL", $g; + $geom{totalcylinders} = $geom{cylinders}; #- $geom{cylinders} is no good (only a ushort, that means less than 2^16 => at best 512MB) if (my $total = c::total_sectors(fileno F)) { -- cgit v1.2.1