aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorLines
2016-10-16Mention that low-level fs need to set FUSE_CAP_EXPORT_SUPPORTNikolaus Rath-5/+5
2016-10-16Default to FUSE_USE_VERSION 30Nikolaus Rath-4/+3
2016-10-16Various documentation updatesNikolaus Rath-363/+4
Move README.NFS into doc/ Update project URL Remove reference to non-existent INSTALL file Remove outdated/obsolete NEWS and how-fuse-works files. Update references to examples.
2016-10-16Inlined fuse_mount_help() into fuse_lowlevel_help().Nikolaus Rath-21/+6
Both the BSD and Linux implementation actually accept mostly the same FUSE-specific mount options. Up to now, the BSD help function appended the output of ``mount_fusefs --help``, but looking at http://www.unix.com/man-page/freebsd/8/mount_fusefs/ this is likely more confusing than helpful (since the user is not actually invoking mount_fusefs directly, most of the options don't make sense).
2016-10-16fuse_new(): instead of listing options, refer to mount.fuse(8)Nikolaus Rath-25/+6
2016-10-16fuse_session_new(): instead of listing options, refer to mount.fuse(8)Nikolaus Rath-10/+5
2016-10-16fuse_session_new: accept -o debug as synonym for -dNikolaus Rath-0/+1
2016-10-16Updated man-pages.Nikolaus Rath-37/+68
* Removed -o nonempty * Added -o noforget * Split into high-level / low-level * Added warning that most options should be chosen by file system internally. * Updated maintainer.
2016-10-15Make --help output more suitable for end-userNikolaus Rath-50/+70
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.
2016-10-15Removed -o nopath - it never did anythingNikolaus Rath-2/+4
We are overriding this setting with the flag in struct fuse_operations: $ example/hello -f -d ~/tmp/mnt FUSE library version: 3.0.0pre0 nopath: 0 unique: 1, opcode: INIT (26), nodeid: 0, insize: 56, pid: 0 INIT: 7.25 flags=0x0007fffb max_readahead=0x00020000 INIT: 7.23 flags=0x00006031 max_readahead=0x00020000 max_write=0x00020000 max_background=0 congestion_threshold=0 time_gran=0 unique: 1, success, outsize: 80 $ example/hello -f -d ~/tmp/mnt -o nopath FUSE library version: 3.0.0pre0 nopath: 0 unique: 1, opcode: INIT (26), nodeid: 0, insize: 56, pid: 0 INIT: 7.25 flags=0x0007fffb max_readahead=0x00020000 INIT: 7.23 flags=0x00006031 max_readahead=0x00020000 max_write=0x00020000 max_background=0 congestion_threshold=0 time_gran=0 unique: 1, success, outsize: 80
2016-10-15Removed -o nonempty optionNikolaus Rath-58/+13
This brings the default behavior in-line with that of the regular `mount` command.
2016-10-15Fix documentation of -o max_write=Nikolaus Rath-1/+1
big_writes has been available for some time, and is the default in FUSE 3. So max_write now actually takes effect. (This really should have gone into commit 97f4a9cb4fc69)
2016-10-15Drop -o large_read mount optionNikolaus Rath-5/+3
This was only relevant for 2.4 kernels. Fixes #92.
2016-10-15Pass fuse_file_info to getattr, chown, chmod, truncate, utimens handlersNikolaus Rath-249/+164
This obsoletes the ftruncate & fgetattr handlers. Fixes #58.
2016-10-15Unify handling of fuse_conn_info optionsNikolaus Rath-162/+227
Instead of using command line options to modify struct fuse_conn_info before and after calling the init() handler, we now give the file system explicit control over this.
2016-10-15Merge branch 'fixup-lock-options'Nikolaus Rath-0/+3
2016-10-15Re-activated lost no_remote_*lock options.Nikolaus Rath-0/+3
2016-10-13tests: use freshly-build fusermount (instead of system version)Nikolaus Rath-5/+36
When running tests as non-root, make fusermount setuid root.
2016-10-13Travis: use "make test" instead of calling pytest directlyNikolaus Rath-1/+1
2016-10-13Only test writeback cache if kernel is recent enough.Nikolaus Rath-1/+5
2016-10-13Added lost ChangeLog entries for -o writeback_cache and -o async_dio.Nikolaus Rath-0/+7
2016-10-13do_init(): treat command line options consistentlyNikolaus Rath-50/+72
Previously, some command line options would change the FUSE defaults but leave the final value to the file systems `init` handler while others would override any changes made by `init`. Now, command line options do both: they modify the default, *and* take precedence.
2016-10-13Make -o clone_fd into a parameter of session_loop_mt().Nikolaus Rath-18/+28
This option really affects the behavior of the session loop, not the low-level interface. Therefore, it does not belong in the fuse_session object.
2016-10-13Move session options into sub-structNikolaus Rath-38/+40
The session options are used only once to determine the proper conn->want flags. It is nice to have them clearly separated from the other struct fuse_session members that are used throughout the life of the file system.
2016-10-13Mention atomic_o_trunc capability in description of open() handler.Nikolaus Rath-6/+12
2016-10-13Use NULL for option processing function where possible.Nikolaus Rath-10/+1
2016-10-13Activate splice_read by default if write_buf is implemented.Nikolaus Rath-0/+5
2016-10-10Document when fuse_reply_data will use splice()Nikolaus Rath-0/+27
2016-10-10Factored out LL_OPTIONS macroNikolaus Rath-34/+36
2016-10-10Removed 'async_read' field in fuse_conn_infoNikolaus Rath-13/+19
This is redundant with the capability flags in `wants` and `capable`.
2016-10-10Make several -o NN options work againNikolaus Rath-5/+5
In commit 2ed7af, we accidentally set the default values *after* parsing the command line arguments.
2016-10-10Fix race condition in notify_* examplesNikolaus Rath-46/+62
The fix in commit cf4159156b was incomplete. While some false positives are caused by sleep() in the file system taking longer than expected, there was also a race condition where the file system would run before the contents are initialized properly.
2016-10-10Added write cache tests.Nikolaus Rath-2/+225
2016-10-10Use "se" instead of "f" for fuse_session pointer where possible.Nikolaus Rath-52/+53
These changes were generated with the following Coccinelle semantic patch: @@ symbol f, se; // avoid unneeded warnings from Coccinelle @@ struct fuse_session * -f +se ; <... -f +se ...> @@ identifier fn; @@ fn(...,struct fuse_session * -f +se ,...) { <... -f +se ...> }
2016-10-10fuse_main(): extend support for printing helpNikolaus Rath-11/+87
There's now a way to inhibit the "usage" line (which actually got lost in commit 225c12aebf2d), which makes it easier for simply file-systems to generate good-looking --help output.
2016-10-09Use NULL as option processor where possible.Nikolaus Rath-27/+3
2016-10-09fuse_main_real(): use fuse_parse_cmdline().Nikolaus Rath-11/+1
2016-10-09Added ChangeLog entry for commit 225c12aebf2d2f27e1d0.Nikolaus Rath-0/+5
2016-10-09Added cuse unit test.Nikolaus Rath-2/+42
2016-10-09Renamed cuses example and added test programNikolaus Rath-6/+176
An earlier version of the fioclient.c example was intended to be used together with cusexmp.c. The former has since evolved into ioctl_client.c and no longer has the function necessary to test CUSE. Therefore, we've added a new cuse_client.c that is clearly associated with the cuse.c example file system.
2016-10-09Increase timeouts in notify_* testsNikolaus Rath-8/+14
When running under Valgrind, we otherwise get sporadic test failures.
2016-10-09Don't confuse lookup count for mountpoint and fileNikolaus Rath-7/+12
I think this is the reason for a sporadic test failure, where fuse_lowlevel_notify_store() fails.
2016-10-09Renamed timefsN examples to fuse_notify_*Nikolaus Rath-50/+52
This should make it more obvious at first glance what the different examples do.
2016-10-09Include testfsN examples in Doxygen documentation.Nikolaus Rath-139/+172
2016-10-09Renamed ioctl and poll examplesNikolaus Rath-42/+46
The new names should make it more obvious at first glance what each example demonstrates.
2016-10-09Renamed some examples to make their function more obviousNikolaus Rath-85/+46
Also, added more comments for the same purpose.
2016-10-09fuse_parse_cmdline(): do not print help/version textNikolaus Rath-62/+112
The current behavior makes it difficult to add help for additional options. With the change, this becomes a lot easier.
2016-10-09Added missing export of fuse_pkgversion.Nikolaus Rath-0/+1
2016-10-09Merge pull request #80 from libfuse/master-proposedNikolaus Rath-113/+9
2016-10-09Whitespace fix.Nikolaus Rath-2/+2