]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
cephfs/ceph-fuse: add and modify ceph-fuse mount hint 16550/head
authorhuanwen ren <rhwlyw@163.com>
Tue, 25 Jul 2017 03:07:12 +0000 (11:07 +0800)
committerhuanwen ren <ren.huanwen@zte.com.cn>
Thu, 27 Jul 2017 13:14:38 +0000 (21:14 +0800)
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 <ren.huanwen@zte.com.cn>
src/ceph_fuse.cc

index faa949f9609f1596d2fef0cf525c589d926dbf27..4416e9d3c588daaf869096879f1a469393154345 100644 (file)
@@ -62,9 +62,9 @@ static void fuse_usage()
 void usage()
 {
   cout <<
-"usage: ceph-fuse [-m mon-ip-addr:mon-port] <mount point> [OPTIONS]\n"
-"  --client_mountpoint/-r <root_directory>\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] <mount point> [OPTIONS]\n"
+"  --client_mountpoint/-r <sub_directory>\n"
+"                    use sub_directory as the mounted root, rather than the full Ceph tree.\n"
 "\n";
   fuse_usage();
   generic_client_usage();