Skip to content

Commit

Permalink
cephfs/ceph-fuse: add and modify ceph-fuse mount hint
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
renhwztetecs committed Jul 27, 2017
1 parent 1e5c8ae commit cfc6637
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/ceph_fuse.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit cfc6637

Please sign in to comment.