aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGravatar Nikolaus Rath <Nikolaus@rath.org>2017-04-06 11:41:48 -0700
committerGravatar Nikolaus Rath <Nikolaus@rath.org>2017-04-07 16:40:15 -0700
commit0a096eb2bf8d60b376fa1185bfc051b966114a14 (patch)
treee47d6f61f675bd4c403b175680ce91e6d691eb44 /include
parentc1ebb9b9b835f4ee7cb27d53de432101e733f695 (diff)
Document true meaning of the 'use_ino' option.
Diffstat (limited to 'include')
-rw-r--r--include/fuse.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/include/fuse.h b/include/fuse.h
index 89798ef..6bba1ce 100644
--- a/include/fuse.h
+++ b/include/fuse.h
@@ -177,6 +177,9 @@ struct fuse_config {
* field in the readdir(2) function. The filesystem does not
* have to guarantee uniqueness, however some applications
* rely on this value being unique for the whole filesystem.
+ *
+ * Note that this does *not* affect the inode that libfuse
+ * and the kernel use internally (also called the "nodeid").
*/
int use_ino;
@@ -292,7 +295,9 @@ struct fuse_operations {
*
* Similar to stat(). The 'st_dev' and 'st_blksize' fields are
* ignored. The 'st_ino' field is ignored except if the 'use_ino'
- * mount option is given.
+ * mount option is given. In that case it is passed to userspace,
+ * but libfuse and the kernel will still assign a different
+ * inode for internal use (called the "nodeid").
*
* `fi` will always be NULL if the file is not currenly open, but
* may also be NULL if the file is open.