summaryrefslogtreecommitdiffstats
path: root/move/tree/mdk_move_loop
diff options
context:
space:
mode:
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 b98c4a417..76aca6dbe 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/loop$_ 2>/dev/null` =~ m!\([^)]*/([^)]*)\)! or last;
- $file2loop{$file} = "loop$_";
+ my ($file) = `sudo losetup /dev/chloop$_ 2>/dev/null` =~ m!\([^)]*/([^)]*)\)! or last;
+ $file2loop{$file} = "chloop$_";
}
%file2loop;
}