diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2005-06-10 07:38:18 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2005-06-10 07:38:18 +0000 |
commit | a655b0e1e07efb3fd057f726b85887908d970ba6 (patch) | |
tree | 5c22433d00fef31132d1ce790939093b0e3956a2 /perl-install/devices.pm | |
parent | b026d0fd87157061e0f8e5a31247bec7d08a8394 (diff) | |
download | drakx-backup-do-not-use-a655b0e1e07efb3fd057f726b85887908d970ba6.tar drakx-backup-do-not-use-a655b0e1e07efb3fd057f726b85887908d970ba6.tar.gz drakx-backup-do-not-use-a655b0e1e07efb3fd057f726b85887908d970ba6.tar.bz2 drakx-backup-do-not-use-a655b0e1e07efb3fd057f726b85887908d970ba6.tar.xz drakx-backup-do-not-use-a655b0e1e07efb3fd057f726b85887908d970ba6.zip |
- move functions using /proc/partitions out of fsedit to fs::proc_partitions
- remove unneeded "use xxx"
- add some "use xxx" (nb: not completly needed because some other modules may do it)
Diffstat (limited to 'perl-install/devices.pm')
-rw-r--r-- | perl-install/devices.pm | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/perl-install/devices.pm b/perl-install/devices.pm index c5ee94c04..9404481a8 100644 --- a/perl-install/devices.pm +++ b/perl-install/devices.pm @@ -205,18 +205,6 @@ sub to_devfs { readlink("/dev/" . $dev); } -sub read_proc_partitions_raw() { - my (undef, undef, @all) = cat_("/proc/partitions"); - grep { - $_->{size} != 1 && # skip main extended partition - $_->{size} != 0x3fffffff; # skip cdroms (otherwise stops cd-audios) - } map { - my %l; - @l{qw(major minor size dev)} = split; - \%l; - } @all; -} - sub simple_partition_scan { my ($part) = @_; $part->{device} =~ /([hs]d[a-z])(\d+)$/; |