summaryrefslogtreecommitdiffstats
path: root/xlators/mount/fuse/utils
diff options
context:
space:
mode:
authorAmar Tumballi <amar@gluster.com>2010-08-14 03:36:29 +0000
committerAnand V. Avati <avati@dev.gluster.com>2010-08-15 11:28:36 -0700
commitdd6c4b0e0db5fbe05a0c7927c780c96d5a97a966 (patch)
treef82e642a138d921a4e0a76849eb2f5ed529fc750 /xlators/mount/fuse/utils
parent78814d4a5451b4fbd83fa286a866d6e520f92d74 (diff)
volume-id fix in mount.glusterfs
* now user can give numrical volume names if needed. Signed-off-by: Amar Tumballi <amar@gluster.com> Signed-off-by: Anand V. Avati <avati@dev.gluster.com> BUG: 1364 () URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=1364
Diffstat (limited to 'xlators/mount/fuse/utils')
-rwxr-xr-xxlators/mount/fuse/utils/mount.glusterfs.in8
1 files changed, 1 insertions, 7 deletions
diff --git a/xlators/mount/fuse/utils/mount.glusterfs.in b/xlators/mount/fuse/utils/mount.glusterfs.in
index e453ede3e..dacf6b3a8 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="";
}