diff options
author | Harshavardhana <harsha@harshavardhana.net> | 2013-09-14 19:51:13 -0700 |
---|---|---|
committer | Vijay Bellur <vbellur@redhat.com> | 2013-12-13 02:25:53 -0800 |
commit | 0404be9ca1d9fa15c83bc4132561091c1c839d84 (patch) | |
tree | dc2be5d866e6dc53c0ebecbefdf12403c8de6fb9 /error-codes.json | |
parent | ea89a25b0b4e8796c421c32fb6dbc4661081f6e1 (diff) |
mount.glusterfs: getopts support and cleanup
This patch is an attempt to provide some much needed
cleanup for future maintenance of `mount.glusterfs`
- Add checks for command failures
- Spliting large code into subsequent simpler functions
- Standardized variables
- use 'bash' instead of 'sh' - since string manipulation
and variable handling is far superior
- Overall code cleanup and Copyright change to Red, Hat Inc.
- Add new style of mounting with a comma separated list
~~~
$ mount -t glusterfs <IP1/HOSTNAME1>,<IP2/HOSTNAME2>,..<IPN/HOSTNAMEN>:/<VOLUME> <MNT>
~~~
- Update age old `manpage` with new options :-)
Change-Id: I294e4d078a067d67d9a67eb8dde5eb2634cc0e45
BUG: 1040348
Signed-off-by: Harshavardhana <harsha@harshavardhana.net>
Reviewed-on: http://review.gluster.org/5931
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Amar Tumballi <amarts@gmail.com>
Reviewed-by: Vijay Bellur <vbellur@redhat.com>
Diffstat (limited to 'error-codes.json')
0 files changed, 0 insertions, 0 deletions