ceph-fuse: the -d option couldn't enable the debug mode in libfuse
3 - minor
Pull request ID:
[root@lxbceph0 build]# ./bin/ceph-fuse -h usage: ceph-fuse [-n client.username] [-m mon-ip-addr:mon-port] <mount point> [OPTIONS] --client_mountpoint/-r <sub_directory> use sub_directory as the mounted root, rather than the full Ceph tree. usage: ceph-fuse [options] <mountpoint> FUSE options: -h --help print help -V --version print version -d -o debug enable debug output (implies -f) -f foreground operation -s disable multi-threaded operation -o clone_fd use separate fuse device fd for each thread (may improve performance) -o max_idle_threads the maximum number of idle worker threads allowed (default: 10) -o allow_other allow access by all users -o allow_root allow access by root -o auto_unmount auto unmount on process termination --conf/-c FILE read configuration from the given configuration file --id ID set ID portion of my name --name/-n TYPE.ID set name --cluster NAME set cluster name (default: ceph) --setuser USER set uid to user or uid (and gid to user's gid) --setgroup GROUP set gid to group or gid --version show version and quit
The -d option will be dropped by the global_init() and the libfuse couldn't see it.