summaryrefslogtreecommitdiffstats
path: root/perl-install/partition_table_bsd.pm
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2000-01-24 15:12:16 +0000
committerFrancois Pons <fpons@mandriva.com>2000-01-24 15:12:16 +0000
commita31aa764b35315eda2caf3bd269db45fc56a9d66 (patch)
treedf5c8c426e21dddb236a4e600ab7162c1806c758 /perl-install/partition_table_bsd.pm
parent7fa1fd93ecd790ae288102dcb4ec4cf3ca3bc760 (diff)
downloaddrakx-backup-do-not-use-a31aa764b35315eda2caf3bd269db45fc56a9d66.tar
drakx-backup-do-not-use-a31aa764b35315eda2caf3bd269db45fc56a9d66.tar.gz
drakx-backup-do-not-use-a31aa764b35315eda2caf3bd269db45fc56a9d66.tar.bz2
drakx-backup-do-not-use-a31aa764b35315eda2caf3bd269db45fc56a9d66.tar.xz
drakx-backup-do-not-use-a31aa764b35315eda2caf3bd269db45fc56a9d66.zip
*** empty log message ***
Diffstat (limited to 'perl-install/partition_table_bsd.pm')
-rw-r--r--perl-install/partition_table_bsd.pm10
1 files changed, 1 insertions, 9 deletions
diff --git a/perl-install/partition_table_bsd.pm b/perl-install/partition_table_bsd.pm
index c0af9cf48..13398e007 100644
--- a/perl-install/partition_table_bsd.pm
+++ b/perl-install/partition_table_bsd.pm
@@ -56,14 +56,6 @@ my $magic = 0x82564557;
my $nb_primary = 8;
my $offset = 0x40;
-#- use default partition table adust functions.
-sub adjustStart($$) {
- &partition_table::adjustStart;
-}
-sub adjustEnd($$) {
- &partition_table::adjustEnd;
-}
-
sub read($$) {
my ($hd, $sector) = @_;
my $tmp;
@@ -132,7 +124,7 @@ sub info {
dtype => $hd->{device} =~ /^sd/ ? $dtype_scsi : $dtype_ST506,
secsize => $common::SECTORSIZE,
ncylinders => $hd->{geom}{cylinders},
- secpercyl => partition_table::cylinder_size($hd),
+ secpercyl => $hd->cylinder_size(),
secprtunit => $hd->{geom}{totalsectors},
rpm => 3600,
interleave => 1,