]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
ceph-fuse: Improve fuse mount usage message 58847/head
authorKotresh HR <khiremat@redhat.com>
Thu, 25 Jul 2024 09:39:15 +0000 (15:09 +0530)
committerKotresh HR <khiremat@redhat.com>
Tue, 15 Oct 2024 04:31:46 +0000 (10:01 +0530)
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 <khiremat@redhat.com>
src/ceph_fuse.cc

index 3fa5346b4634d4729ee15894cd7fd101ae6e8ec3..68fe30760a774c2d626ba7b2d634547f09b53180 100644 (file)
@@ -81,9 +81,10 @@ static void fuse_usage()
 void usage()
 {
   cout <<
-"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"
+"\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"
+
+"  --client_mountpoint/-r: use sub_directory as the mounted root, rather than the full CephFS tree.\n"
+"  --client_fs: named file system to mount (default: usually the first file system created).\n"
 "\n";
   fuse_usage();
   generic_client_usage();