summaryrefslogtreecommitdiffstats
path: root/rescue/lsparts
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2005-06-13 04:33:50 +0000
committerPascal Rigaux <pixel@mandriva.com>2005-06-13 04:33:50 +0000
commit967d8ec6e7be57b1cdfc4ff1538044bc07b4db53 (patch)
tree9058f29a529d3b7a9ef15cc0cd5624c0f2f5396f /rescue/lsparts
parent4b962e51805bd35269788b7e7fb96b84635651c8 (diff)
downloaddrakx-backup-do-not-use-967d8ec6e7be57b1cdfc4ff1538044bc07b4db53.tar
drakx-backup-do-not-use-967d8ec6e7be57b1cdfc4ff1538044bc07b4db53.tar.gz
drakx-backup-do-not-use-967d8ec6e7be57b1cdfc4ff1538044bc07b4db53.tar.bz2
drakx-backup-do-not-use-967d8ec6e7be57b1cdfc4ff1538044bc07b4db53.tar.xz
drakx-backup-do-not-use-967d8ec6e7be57b1cdfc4ff1538044bc07b4db53.zip
move functions using /proc/partitions out of fsedit to fs::proc_partitions
Diffstat (limited to 'rescue/lsparts')
-rwxr-xr-xrescue/lsparts4
1 files changed, 2 insertions, 2 deletions
diff --git a/rescue/lsparts b/rescue/lsparts
index 8dff460d2..9f0fac925 100755
--- a/rescue/lsparts
+++ b/rescue/lsparts
@@ -18,8 +18,8 @@
use lib qw(../perl-install /usr/lib/libDrakX);
use common;
-use devices;
use fs::type;
+use fs::proc_partitions;
my $params = join '', @ARGV;
my $verbose = $params =~ /-v/;
@@ -27,7 +27,7 @@ my $verbose = $params =~ /-v/;
$params =~ /-h/ and die "usage: lsparts [-v]\n";
-foreach (devices::read_proc_partitions_raw()) {
+foreach (fs::proc_partitions::read_raw()) {
if (my $err = $_->{size} <= 1 ?
"Skipping <$_->{dev}> because too little blocks ($_->{size})" :
$_->{dev} !~ /\d$/ ?