From 3f8dc989b71977c2e3f94482b21be92b8562ea83 Mon Sep 17 00:00:00 2001 From: Amar Tumballi Date: Wed, 24 Mar 2010 04:04:51 +0000 Subject: added '--read-only' command line option for glusterfs Signed-off-by: Amar Tumballi Signed-off-by: Anand V. Avati BUG: 712 (mount.glusterfs script doesn't handle 'ro' option) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=712 --- glusterfsd/src/glusterfsd.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'glusterfsd/src/glusterfsd.h') diff --git a/glusterfsd/src/glusterfsd.h b/glusterfsd/src/glusterfsd.h index 8198f6f52..77028c706 100644 --- a/glusterfsd/src/glusterfsd.h +++ b/glusterfsd/src/glusterfsd.h @@ -43,6 +43,7 @@ #define ENABLE_NO_DAEMON_MODE 1 #define ENABLE_DEBUG_MODE 1 +#define ZR_XLATOR_READ_ONLY "features/read-only" #define ZR_XLATOR_FUSE "mount/fuse" #define ZR_MOUNTPOINT_OPT "mountpoint" #define ZR_ATTR_TIMEOUT_OPT "attribute-timeout" @@ -74,6 +75,7 @@ enum argp_option_keys { ARGP_VOLFILE_MAX_FETCH_ATTEMPTS = 145, ARGP_LOG_SERVER_KEY = 146, ARGP_LOG_SERVER_PORT_KEY = 147, + ARGP_READ_ONLY_KEY = 148, }; /* Moved here from fetch-spec.h */ -- cgit