aboutsummaryrefslogtreecommitdiff
path: root/include/fuse_lowlevel.h
diff options
context:
space:
mode:
authorGravatar Nikolaus Rath <Nikolaus@rath.org>2016-10-15 19:46:57 -0700
committerGravatar Nikolaus Rath <Nikolaus@rath.org>2016-10-15 19:46:57 -0700
commitb16650830d69cbe2d13e74c4318757c15f2c552f (patch)
treeeb2972d1d46aeed0bba411a02b8f523c7e21a8c2 /include/fuse_lowlevel.h
parentb46250c40e29a23d37fe8fdadd6ef0d4cfe8b897 (diff)
Make --help output more suitable for end-user
We now only list options that are potentially useful for an end-user (and unlikely to accidentally break a file system). The full list of FUSE options has been moved to the documentation of the fuse_new() and fuse_session_new() functions.
Diffstat (limited to 'include/fuse_lowlevel.h')
-rw-r--r--include/fuse_lowlevel.h27
1 files changed, 15 insertions, 12 deletions
diff --git a/include/fuse_lowlevel.h b/include/fuse_lowlevel.h
index d3aa484..f17920d 100644
--- a/include/fuse_lowlevel.h
+++ b/include/fuse_lowlevel.h
@@ -1618,20 +1618,16 @@ int fuse_req_interrupted(fuse_req_t req);
* ----------------------------------------------------------- */
/**
- * Print FUSE library version to stdout.
+ * Print low-level version information to stdout.
*/
void fuse_lowlevel_version(void);
/**
- * Print FUSE mount (fusermount) version stdout.
+ * Print available low-level options to stdout. This is not an
+ * exhaustive list, but includes only those options that may be of
+ * interest to an end-user of a file system.
*/
-void fuse_mount_version(void);
-
-/**
- * Print available mount options to stdout.
- * These options may be passed to `fuse_session_new()`
- */
-void fuse_mount_help(void);
+void fuse_lowlevel_help(void);
/**
* Print available options for `fuse_parse_cmdline()`.
@@ -1677,9 +1673,16 @@ int fuse_parse_cmdline(struct fuse_args *args,
* Returns a session structure suitable for passing to
* fuse_session_mount() and fuse_session_loop().
*
- * Known options can be listed by fuse_mount_help(). Additionally,
- * this function accepts the `--debug` option (which is not explicitly
- * listed by fuse_mount_help()).
+ * Under Linux, this function accepts the following options:
+ *
+ * -d, --debug enable debugging output
+ * -o allow_other allow access to other users
+ * -o allow_root allow access to root
+ * -o auto_unmount auto unmount on process termination
+ * -o default_permissions enable permission checking by kernel
+ * -o fsname=NAME set filesystem name
+ * -o subtype=NAME set filesystem type
+ * -o max_read=N set maximum size of read requests
*
* If not all options are known, an error message is written to stderr
* and the function returns NULL.