From 60747d6a10d9f1ce2b0d9873b759a7bd96f3cb27 Mon Sep 17 00:00:00 2001 From: Donald Buczek Date: Mon, 13 May 2019 11:48:02 +0200 Subject: [PATCH] mxmirror: Remove commented out sub --- mxmirror/mxmirror | 39 --------------------------------------- 1 file changed, 39 deletions(-) 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;