From 199fc0f8335af5487edb243c05a662b60e311463 Mon Sep 17 00:00:00 2001 From: Nikolaus Rath Date: Sun, 16 Oct 2016 14:28:47 -0700 Subject: Inlined fuse_mount_help() into fuse_lowlevel_help(). Both the BSD and Linux implementation actually accept mostly the same FUSE-specific mount options. Up to now, the BSD help function appended the output of ``mount_fusefs --help``, but looking at http://www.unix.com/man-page/freebsd/8/mount_fusefs/ this is likely more confusing than helpful (since the user is not actually invoking mount_fusefs directly, most of the options don't make sense). --- lib/fuse_lowlevel.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'lib/fuse_lowlevel.c') diff --git a/lib/fuse_lowlevel.c b/lib/fuse_lowlevel.c index fc37a24..86940eb 100644 --- a/lib/fuse_lowlevel.c +++ b/lib/fuse_lowlevel.c @@ -2537,7 +2537,12 @@ void fuse_lowlevel_version(void) void fuse_lowlevel_help(void) { - fuse_mount_help(); + /* These are not all options, but the ones that are + potentially of interest to an end-user */ + printf( +" -o allow_other allow access to other users\n" +" -o allow_root allow access to root\n" +" -o auto_unmount auto unmount on process termination\n"); } void fuse_session_destroy(struct fuse_session *se) -- cgit v1.2.3