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/detect_devices.pm | |
parent | b026d0fd87157061e0f8e5a31247bec7d08a8394 (diff) | |
download | drakx-a655b0e1e07efb3fd057f726b85887908d970ba6.tar drakx-a655b0e1e07efb3fd057f726b85887908d970ba6.tar.gz drakx-a655b0e1e07efb3fd057f726b85887908d970ba6.tar.bz2 drakx-a655b0e1e07efb3fd057f726b85887908d970ba6.tar.xz drakx-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/detect_devices.pm')
-rw-r--r-- | perl-install/detect_devices.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/detect_devices.pm b/perl-install/detect_devices.pm index 15f671670..fad553daf 100644 --- a/perl-install/detect_devices.pm +++ b/perl-install/detect_devices.pm @@ -369,7 +369,7 @@ sub getIDE() { sub block_devices() { -d '/sys/block' ? map { s|!|/|; $_ } all('/sys/block') - : map { $_->{dev} } devices::read_proc_partitions_raw(); + : map { $_->{dev} } do { require fs::proc_partitions; fs::proc_partitions::read_raw() }; } sub getCompaqSmartArray() { |