summaryrefslogtreecommitdiffstats
path: root/perl-install/partition_table
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2004-11-16 16:47:04 +0000
committerPascal Rigaux <pixel@mandriva.com>2004-11-16 16:47:04 +0000
commit57cb518585e76d8ae16f0acd62b6ed13f17c5fed (patch)
tree297dfd2aada1fd0426b8a4ff034dab83b0c2a96a /perl-install/partition_table
parentc61d24242661df10056834c624fdf355f790a2dc (diff)
downloaddrakx-57cb518585e76d8ae16f0acd62b6ed13f17c5fed.tar
drakx-57cb518585e76d8ae16f0acd62b6ed13f17c5fed.tar.gz
drakx-57cb518585e76d8ae16f0acd62b6ed13f17c5fed.tar.bz2
drakx-57cb518585e76d8ae16f0acd62b6ed13f17c5fed.tar.xz
drakx-57cb518585e76d8ae16f0acd62b6ed13f17c5fed.zip
handle more nicely raw_lvm_PV (don't simply ignore them)
Diffstat (limited to 'perl-install/partition_table')
-rw-r--r--perl-install/partition_table/lvm_PV.pm39
1 files changed, 0 insertions, 39 deletions
diff --git a/perl-install/partition_table/lvm_PV.pm b/perl-install/partition_table/lvm_PV.pm
deleted file mode 100644
index b53867d5f..000000000
--- a/perl-install/partition_table/lvm_PV.pm
+++ /dev/null
@@ -1,39 +0,0 @@
-package partition_table::lvm_PV; # $Id$
-
-use diagnostics;
-use strict;
-
-our @ISA = qw(partition_table::raw);
-
-use partition_table::raw;
-use c;
-
-
-#- Allows people having PVs on unpartitioned disks to install
-#- (but no way to create such beasts)
-#-
-#- another way to handle them would be to ignore those disks,
-#- but this would make those hds unshown in diskdrake,
-#- disallowing to zero_MBR, clearing this PV
-
-
-sub read {
- my ($hd, $_sector) = @_;
-
- require fs::type;
- my $t = fs::type::type_subpart_from_magic($hd);
-
- $t && $t->{pt_type} == 0x8e or die "bad magic number on disk $hd->{device}";
-
- [];
-}
-
-sub write {
- die "ERROR: should not be writing raw disk lvm PV!!";
-}
-
-sub clear_raw {
- die "ERROR: should not be creating new raw disk lvm PV!!";
-}
-
-1;