diff options
author | Guillaume Cottenceau <gc@mandriva.com> | 2003-12-01 18:45:16 +0000 |
---|---|---|
committer | Guillaume Cottenceau <gc@mandriva.com> | 2003-12-01 18:45:16 +0000 |
commit | ea8b58e0f58bdfc04c1fc563501eadb85a04913c (patch) | |
tree | 6ff33f90762ef7da846df57ac47249129495b4a6 /move/tree/mdk_move_loop | |
parent | d5687fcf08f951399635388e1c5998bc5bf02276 (diff) | |
download | drakx-ea8b58e0f58bdfc04c1fc563501eadb85a04913c.tar drakx-ea8b58e0f58bdfc04c1fc563501eadb85a04913c.tar.gz drakx-ea8b58e0f58bdfc04c1fc563501eadb85a04913c.tar.bz2 drakx-ea8b58e0f58bdfc04c1fc563501eadb85a04913c.tar.xz drakx-ea8b58e0f58bdfc04c1fc563501eadb85a04913c.zip |
chloop support
Diffstat (limited to 'move/tree/mdk_move_loop')
-rwxr-xr-x | move/tree/mdk_move_loop | 4 |
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; } |