summaryrefslogtreecommitdiffstats
path: root/xlators/mount/fuse/utils/mount.glusterfs.in
diff options
context:
space:
mode:
Diffstat (limited to 'xlators/mount/fuse/utils/mount.glusterfs.in')
-rwxr-xr-xxlators/mount/fuse/utils/mount.glusterfs.in7
1 files changed, 7 insertions, 0 deletions
diff --git a/xlators/mount/fuse/utils/mount.glusterfs.in b/xlators/mount/fuse/utils/mount.glusterfs.in
index c805a7cd5..86dcef427 100755
--- a/xlators/mount/fuse/utils/mount.glusterfs.in
+++ b/xlators/mount/fuse/utils/mount.glusterfs.in
@@ -73,6 +73,10 @@ start_glusterfs ()
cmd_line=$(echo "$cmd_line --read-only");
fi
+ if [ -n "$acl" ]; then
+ cmd_line=$(echo "$cmd_line --acl");
+ fi
+
if [ -n "$log_file" ]; then
cmd_line=$(echo "$cmd_line --log-file=$log_file");
fi
@@ -169,6 +173,8 @@ main ()
read_only=$(echo "$options" | sed -n 's/.*\(ro\)[^,]*.*/\1/p');
+ acl=$(echo "$options" | sed -n 's/.*\(acl\)[^,]*.*/\1/p');
+
transport=$(echo "$options" | sed -n 's/.*transport=\([^,]*\).*/\1/p');
direct_io_mode=$(echo "$options" | sed -n 's/.*direct-io-mode=\([^,]*\).*/\1/p');
@@ -208,6 +214,7 @@ main ()
-e 's/[,]*volume-id=[^,]*//' \
-e 's/[,]*log-server=[^,]*//' \
-e 's/[,]*ro[^,]*//' \
+ -e 's/[,]*acl[^,]*//' \
-e 's/[,]*log-server-port=[^,]*//');
#