aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/fuse_i.h
diff options
context:
space:
mode:
authorMiklos Szeredi <miklos@szeredi.hu>2004-04-13 10:49:14 +0000
committerMiklos Szeredi <miklos@szeredi.hu>2004-04-13 10:49:14 +0000
commit7f6bc8968ff6ca488991b0c5b1b9c4846dc1ccda (patch)
tree187908daf8a7c7c42381b43cd1b213599e81f79e /kernel/fuse_i.h
parentc26c14d8db2072ca1ddc9f9f3133edb3f1c564aa (diff)
downloadlibfuse-7f6bc8968ff6ca488991b0c5b1b9c4846dc1ccda.tar.gz
text mount options
Diffstat (limited to 'kernel/fuse_i.h')
-rw-r--r--kernel/fuse_i.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/kernel/fuse_i.h b/kernel/fuse_i.h
index 6f064fe..1299139 100644
--- a/kernel/fuse_i.h
+++ b/kernel/fuse_i.h
@@ -43,6 +43,25 @@
#define FUSE_BLOCK_PAGE_SHIFT (FUSE_BLOCK_SHIFT - PAGE_CACHE_SHIFT)
+/** If the FUSE_DEFAULT_PERMISSIONS flag is given, the filesystem
+module will check permissions based on the file mode. Otherwise no
+permission checking is done in the kernel */
+#define FUSE_DEFAULT_PERMISSIONS (1 << 0)
+
+/** If the FUSE_ALLOW_OTHER flag is given, then not only the user
+ doing the mount will be allowed to access the filesystem */
+#define FUSE_ALLOW_OTHER (1 << 1)
+
+/** If the FUSE_KERNEL_CACHE flag is given, then files will be cached
+ until the INVALIDATE operation is invoked */
+#define FUSE_KERNEL_CACHE (1 << 2)
+
+/** Allow FUSE to combine reads into 64k chunks. This is useful if
+ the filesystem is better at handling large chunks. NOTE: in
+ current implementation the raw throughput is worse for large reads
+ than for small. */
+#define FUSE_LARGE_READ (1 << 3)
+
/**
* A Fuse connection.
*