From 8160399a36eff62a49a066f16dea9140d877c5e8 Mon Sep 17 00:00:00 2001 From: Anand Avati Date: Wed, 26 Mar 2014 11:52:53 -0700 Subject: meta: (re-)Implement Meta translator The meta translator exposes details about glusterfs itself in the form of a virtual namespace. Loading the translator on the client side creates the meta virtual view under $mntpoint/.meta by default. The directory is not listed (even with ls -a) and can be accessed by doing a "cd /mnt/.meta" Change-Id: I5ffdf39203841a9562a8280a1f79dc76d4dded5d BUG: 1089216 Signed-off-by: Anand Avati Reviewed-on: http://review.gluster.org/7509 Tested-by: Gluster Build System Reviewed-by: Harshavardhana --- glusterfsd/src/glusterfsd.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'glusterfsd') diff --git a/glusterfsd/src/glusterfsd.c b/glusterfsd/src/glusterfsd.c index 1163660a1a5..79e6e593a53 100644 --- a/glusterfsd/src/glusterfsd.c +++ b/glusterfsd/src/glusterfsd.c @@ -1996,6 +1996,8 @@ main (int argc, char *argv[]) } gf_msg (argv[0], GF_LOG_INFO, 0, glusterfsd_msg_30, argv[0], PACKAGE_VERSION, cmdlinestr); + + ctx->cmdlinestr = gf_strdup (cmdlinestr); } gf_proc_dump_init(); -- cgit