summaryrefslogtreecommitdiffstats
path: root/move/tree
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2003-12-01 18:45:16 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2003-12-01 18:45:16 +0000
commitea8b58e0f58bdfc04c1fc563501eadb85a04913c (patch)
tree6ff33f90762ef7da846df57ac47249129495b4a6 /move/tree
parentd5687fcf08f951399635388e1c5998bc5bf02276 (diff)
downloaddrakx-ea8b58e0f58bdfc04c1fc563501eadb85a04913c.tar
drakx-ea8b58e0f58bdfc04c1fc563501eadb85a04913c.tar.gz
drakx-ea8b58e0f58bdfc04c1fc563501eadb85a04913c.tar.bz2
drakx-ea8b58e0f58bdfc04c1fc563501eadb85a04913c.tar.xz
drakx-ea8b58e0f58bdfc04c1fc563501eadb85a04913c.zip
chloop support
Diffstat (limited to 'move/tree')
-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;
}