summaryrefslogtreecommitdiffstats
path: root/move/tree/mdk_move_loop
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2004-04-08 15:09:12 +0000
committerPascal Rigaux <pixel@mandriva.com>2004-04-08 15:09:12 +0000
commit4325ba99759a4cd65d6b0ba7dea017a8b7bb4fae (patch)
tree26487b2fd2a43bbd59ec00241597481227688748 /move/tree/mdk_move_loop
parente86fc81b9b54812e308ed1f32cbd08a9aac44d67 (diff)
downloaddrakx-4325ba99759a4cd65d6b0ba7dea017a8b7bb4fae.tar
drakx-4325ba99759a4cd65d6b0ba7dea017a8b7bb4fae.tar.gz
drakx-4325ba99759a4cd65d6b0ba7dea017a8b7bb4fae.tar.bz2
drakx-4325ba99759a4cd65d6b0ba7dea017a8b7bb4fae.tar.xz
drakx-4325ba99759a4cd65d6b0ba7dea017a8b7bb4fae.zip
we now simply use loop instead of chloop
Diffstat (limited to 'move/tree/mdk_move_loop')
-rwxr-xr-xmove/tree/mdk_move_loop4
1 files changed, 2 insertions, 2 deletions
diff --git a/move/tree/mdk_move_loop b/move/tree/mdk_move_loop
index 76aca6dbe..b98c4a417 100755
--- a/move/tree/mdk_move_loop
+++ b/move/tree/mdk_move_loop
@@ -8,8 +8,8 @@ sub name2file {
sub get_file2loop {
my %file2loop;
foreach (0 .. 9) {
- my ($file) = `sudo losetup /dev/chloop$_ 2>/dev/null` =~ m!\([^)]*/([^)]*)\)! or last;
- $file2loop{$file} = "chloop$_";
+ my ($file) = `sudo losetup /dev/loop$_ 2>/dev/null` =~ m!\([^)]*/([^)]*)\)! or last;
+ $file2loop{$file} = "loop$_";
}
%file2loop;
}