From 5cacc45afda4e4e69a1fca7ee29938888ff4d55f Mon Sep 17 00:00:00 2001 From: Kotresh HR Date: Thu, 25 Jul 2024 15:09:15 +0530 Subject: [PATCH] ceph-fuse: Improve fuse mount usage message Show '--client_fs ' 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 (cherry picked from commit 7cd60242a968aba0f60c2f57a8e3480b5c5c44fa) --- src/ceph_fuse.cc | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/ceph_fuse.cc b/src/ceph_fuse.cc index 3fa5346b463..68fe30760a7 100644 --- a/src/ceph_fuse.cc +++ b/src/ceph_fuse.cc @@ -81,9 +81,10 @@ static void fuse_usage() void usage() { cout << -"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" +"\nusage: ceph-fuse [-n client.username] [-m mon-ip-addr:mon-port] [--client_fs ] [--client_mountpoint/-r ] [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(); -- 2.39.5