diff --git a/mxmirror/mxmirror b/mxmirror/mxmirror index f3c9d49..75eb6e1 100755 --- a/mxmirror/mxmirror +++ b/mxmirror/mxmirror @@ -490,45 +490,6 @@ sub convert_to_destinationpath { return; } - - - -#sub convert_to_path { -# my $string = shift; -# my $mirror = shift; -# -# my ($jbod, $path, $host, $hostpath, $partition); -# -# if(($jbod, $path) = $string =~ /^(X\d+)(.*?)$/) { -# unless(defined $jbodmap->{$jbod}) { -# printf STDERR "**ERROR: unknown jbod: $string"; -# next; -# } -# #sauerkraut:/amd/sauerkraut/X/X0053/mirror/balmer/1 -# -# $host = $jbodmap->{$jbod}; -# -# $hostpath = to_jbod_path($host, $jbod, ${path}, ${mirror}); -# -## printf " - jbod=${jbod} path=${path} => ${hostpath}\n"; -# -# return wantarray?($host, $hostpath):"${host}:${hostpath}"; -# } -# -# if(($host,$partition,$path) = $string =~ /^(.*?):(\d+)(.*?)$/) { -# $hostpath = to_amd_path($host, $partition, $path, $mirror); -# -## printf " - partition=${partition} path=${path} => ${hostpath}\n"; -# -# return wantarray?($host, $hostpath):"${host}:${hostpath}"; -# } -# -# -# -# -# return; -#} - sub read_mirrormap { my $file = shift;