The patch titled
FUSE: document mount options
has been added to the -mm tree. Its filename is
fuse-device-functions-document-mount-options.patch
Patches currently in -mm which might be from [EMAIL PROTECTED] are
__wait_on_freeing_inode-fix.patch
namespacec-fix-bind-mount-from-foreign-namespace.patch
namespacec-fix-mnt_namespace-clearing.patch
namespacec-fix-race-in-mark_mounts_for_expiry.patch
namespacec-cleanup-in-mark_mounts_for_expiry.patch
namespacec-split-mark_mounts_for_expiry.patch
namespacec-fix-expiring-of-detached-mount.patch
namespacec-fix-mnt_namespace-zeroing-for-expired-mounts.patch
set-mnt_namespace-in-the-correct-place.patch
dcookiesc-use-proper-refcounting-functions.patch
namespace-rename-mnt_fslink-to-mnt_expire.patch
namespace-rename-_mntput-to-mntput_no_expire.patch
fuse-maintainers-kconfig-and-makefile-changes.patch
fuse-core.patch
fuse-device-functions.patch
fuse-device-functions-document-mount-options.patch
fuse-read-only-operations.patch
fuse-read-write-operations.patch
fuse-file-operations.patch
fuse-mount-options.patch
fuse-extended-attribute-operations.patch
fuse-add-padding.patch
fuse-readpages-operation.patch
fuse-tighten-check-for-processes-allowed-access.patch
fuse-direct-i-o.patch
fuse-transfer-readdir-data-through-device.patch
fuse-add-fsync-operation-for-directories.patch
fuse-dont-allow-restarting-of-system-calls.patch
From: Miklos Szeredi <[EMAIL PROTECTED]>
This patch adds documentation for the FUSE mount options.
Signed-off-by: Miklos Szeredi <[EMAIL PROTECTED]>
Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
---
Documentation/filesystems/fuse.txt | 69 +++++++++++++++++++++++++++++++++++++
1 files changed, 69 insertions(+)
diff -puN
Documentation/filesystems/fuse.txt~fuse-device-functions-document-mount-options
Documentation/filesystems/fuse.txt
---
devel/Documentation/filesystems/fuse.txt~fuse-device-functions-document-mount-options
2005-07-06 01:23:51.000000000 -0700
+++ devel-akpm/Documentation/filesystems/fuse.txt 2005-07-06
01:23:51.000000000 -0700
@@ -38,6 +38,75 @@ non-privileged mounts. This opens up ne
filesystems. A good example is sshfs: a secure network filesystem
using the sftp protocol.
+Mount options
+~~~~~~~~~~~~~
+
+'fd=N'
+
+ The file descriptor to use for communication between the userspace
+ filesystem and the kernel. The file descriptor must have been
+ obtained by opening the FUSE device ('/dev/fuse').
+
+'rootmode=M'
+
+ The file mode of the filesystem's root in octal representation.
+
+'user_id=N'
+
+ The numeric user id of the mount owner.
+
+'group_id=N'
+
+ The numeric group id of the mount owner.
+
+'default_permissions'
+
+ By default FUSE doesn't check file access permissions, the
+ filesystem is free to implement it's access policy or leave it to
+ the underlying file access mechanism (e.g. in case of network
+ filesystems). This option enables permission checking, restricting
+ access based on file mode. This is option is usually useful
+ together with the 'allow_other' mount option.
+
+'allow_other'
+
+ This option overrides the security measure restricting file access
+ to the user mounting the filesystem. This option is by default only
+ allowed to root, but this restriction can be removed with a
+ (userspace) configuration option.
+
+'kernel_cache'
+
+ This option disables flushing the cache of the file contents on
+ every open(). This should only be enabled on filesystems, where the
+ file data is never changed externally (not through the mounted FUSE
+ filesystem). Thus it is not suitable for network filesystems and
+ other "intermediate" filesystems.
+
+ NOTE: if this option is not specified (and neither 'direct_io') data
+ is still cached after the open(), so a read() system call will not
+ always initiate a read operation.
+
+'direct_io'
+
+ This option disables the use of page cache (file content cache) in
+ the kernel for this filesystem. This has several affects:
+
+ - Each read() or write() system call will initiate one or more
+ read or write operations, data will not be cached in the
+ kernel.
+
+ - The return value of the read() and write() system calls will
+ correspond to the return values of the read and write
+ operations. This is useful for example if the file size is not
+ known in advance (before reading it).
+
+'max_read=N'
+
+ With this option the maximum size of read operations can be set.
+ The default is infinite. Note that the size of read requests is
+ limited anyway to 32 pages (which is 128kbyte on i386).
+
How do non-privileged mounts work?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
_
-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html