From f8496dab2f6111bdc5ced0881d15061160b76e52 Mon Sep 17 00:00:00 2001 From: Anders Blomdell Date: Thu, 24 Jul 2014 16:55:45 +0200 Subject: Allow gluster to be used with linux automounter Added (ignored) -n option to mount.glusterfs command Change-Id: I9209da215d38507cd9d01b1e9af4aecff4414f83 BUG: 1123004 Signed-off-by: Anders Blomdell Reviewed-on: http://review.gluster.org/8373 Reviewed-by: Harshavardhana Tested-by: Gluster Build System Reviewed-by: Humble Devassy Chirammal Reviewed-by: Vijay Bellur --- xlators/mount/fuse/utils/mount.glusterfs.in | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'xlators/mount') diff --git a/xlators/mount/fuse/utils/mount.glusterfs.in b/xlators/mount/fuse/utils/mount.glusterfs.in index 154b8fa97e8..55d0c51de18 100755 --- a/xlators/mount/fuse/utils/mount.glusterfs.in +++ b/xlators/mount/fuse/utils/mount.glusterfs.in @@ -555,12 +555,15 @@ main () ## `mount` specifies options as a last argument shift 2; fi - while getopts "Vo:h" opt; do + while getopts "Vo:hn" opt; do case "${opt}" in o) parse_options ${OPTARG}; shift 2; ;; + n) + shift 1; + ;; V) ${cmd_line} -V; exit 0; -- cgit