From: huanwen ren Date: Tue, 25 Jul 2017 03:07:12 +0000 (+0800) Subject: cephfs/ceph-fuse: add and modify ceph-fuse mount hint X-Git-Tag: v12.1.2~42^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=cfc663726ccaa4d105c3f2e1f3a8f5783cfd2c6f;p=ceph.git 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 --- diff --git a/src/ceph_fuse.cc b/src/ceph_fuse.cc index faa949f9609f..4416e9d3c588 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();