From cfc663726ccaa4d105c3f2e1f3a8f5783cfd2c6f Mon Sep 17 00:00:00 2001 From: huanwen ren Date: Tue, 25 Jul 2017 11:07:12 +0800 Subject: [PATCH] cephfs/ceph-fuse: add and modify ceph-fuse mount hint 1. "-n" is applied the client authorization feature. 2. "root_directory" misleading to mount the root directory , in fact, here mount should be "sub_directory". Refer to: http://docs.ceph.com/docs/master/cephfs/client-auth/#cephfs-client-capabilities Signed-off-by: huanwen ren --- src/ceph_fuse.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/ceph_fuse.cc b/src/ceph_fuse.cc index faa949f9609f1..4416e9d3c588d 100644 --- a/src/ceph_fuse.cc +++ b/src/ceph_fuse.cc @@ -62,9 +62,9 @@ static void fuse_usage() void usage() { cout << -"usage: ceph-fuse [-m mon-ip-addr:mon-port] [OPTIONS]\n" -" --client_mountpoint/-r \n" -" use root_directory as the mounted root, rather than the full Ceph tree.\n" +"usage: ceph-fuse [-n client.username] [-m mon-ip-addr:mon-port] [OPTIONS]\n" +" --client_mountpoint/-r \n" +" use sub_directory as the mounted root, rather than the full Ceph tree.\n" "\n"; fuse_usage(); generic_client_usage();