Skip to content

Commit 7cd6024

Browse files
committed
ceph-fuse: Improve fuse mount usage message
Show '--client_fs <fsname>' option in 'ceph-fuse' usage which is required to mount a specific fs in multifs cluster. https://tracker.ceph.com/issues/67283 Signed-off-by: Kotresh HR <[email protected]>
1 parent 7e7aac1 commit 7cd6024

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/ceph_fuse.cc

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,9 +81,10 @@ static void fuse_usage()
8181
void usage()
8282
{
8383
cout <<
84-
"usage: ceph-fuse [-n client.username] [-m mon-ip-addr:mon-port] <mount point> [OPTIONS]\n"
85-
" --client_mountpoint/-r <sub_directory>\n"
86-
" use sub_directory as the mounted root, rather than the full Ceph tree.\n"
84+
"\nusage: ceph-fuse [-n client.username] [-m mon-ip-addr:mon-port] [--client_fs <fsname>] [--client_mountpoint/-r <sub_directory>] <mount point> [OPTIONS]\n\n"
85+
86+
" --client_mountpoint/-r: use sub_directory as the mounted root, rather than the full CephFS tree.\n"
87+
" --client_fs: named file system to mount (default: usually the first file system created).\n"
8788
"\n";
8889
fuse_usage();
8990
generic_client_usage();

0 commit comments

Comments
 (0)