From dd6c4b0e0db5fbe05a0c7927c780c96d5a97a966 Mon Sep 17 00:00:00 2001 From: Amar Tumballi Date: Sat, 14 Aug 2010 03:36:29 +0000 Subject: volume-id fix in mount.glusterfs * now user can give numrical volume names if needed. Signed-off-by: Amar Tumballi Signed-off-by: Anand V. Avati BUG: 1364 () URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=1364 --- xlators/mount/fuse/utils/mount.glusterfs.in | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'xlators/mount/fuse/utils') diff --git a/xlators/mount/fuse/utils/mount.glusterfs.in b/xlators/mount/fuse/utils/mount.glusterfs.in index e453ede3ed8..dacf6b3a8fc 100755 --- a/xlators/mount/fuse/utils/mount.glusterfs.in +++ b/xlators/mount/fuse/utils/mount.glusterfs.in @@ -181,13 +181,7 @@ main () server_ip=$(echo "$volfile_loc" | sed -n 's/\([^\:]*\).*/\1/p'); test_str=$(echo "$volfile_loc" | sed -n 's/.*:\([^ ]*\).*/\1/p'); [ -n "$test_str" ] && { - # Backward compatibility - test_str1=$(echo "$test_str" | sed -e 's/[0-9]//g'); - [ -n "$test_str1" ] && { - volume_id="$test_str"; - } || { - server_port=$test_str; - } + volume_id="$test_str"; } volfile_loc=""; } -- cgit