aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/fuse_common.h7
-rw-r--r--include/fuse_lowlevel.h9
2 files changed, 13 insertions, 3 deletions
diff --git a/include/fuse_common.h b/include/fuse_common.h
index 4a0e94b..55f0de2 100644
--- a/include/fuse_common.h
+++ b/include/fuse_common.h
@@ -167,12 +167,15 @@ struct fuse_conn_info {
unsigned max_readahead;
/**
- * Capability flags, that the kernel supports
+ * Capability flags that the kernel supports (read-only)
*/
unsigned capable;
/**
- * Capability flags, that the filesystem wants to enable
+ * Capability flags that the filesystem wants to enable.
+ *
+ * libfuse attempts to initialize this field with
+ * reasonable default values before calling the init() handler.
*/
unsigned want;
diff --git a/include/fuse_lowlevel.h b/include/fuse_lowlevel.h
index 63c59c9..bad1d45 100644
--- a/include/fuse_lowlevel.h
+++ b/include/fuse_lowlevel.h
@@ -165,7 +165,14 @@ struct fuse_lowlevel_ops {
/**
* Initialize filesystem
*
- * Called before any other filesystem method
+ * This function is called when libfuse establishes
+ * communication with the FUSE kernel module. The file system
+ * should use this module to inspect and/or modify the
+ * connection parameters provided in the `conn` structure.
+ *
+ * Note that some parameters may be overwritten by options
+ * passed to fuse_session_new() which take precedence over the
+ * values set in this handler.
*
* There's no reply to this function
*