aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorLines
2016-10-31silence bogus eclipse linter warningdivinity76-0/+1
"No break at the end of case cuse.c /example line 235 Code Analysis Problem"
2016-10-28Clean-up doxygen documentationNikolaus Rath-895/+585
Fixes: #81.
2016-10-28Fix memory leak in fusermount.Nikolaus Rath-7/+13
2016-10-28Renamed fusermount / mount.fuse to fusermount3 / mount.fuse3Nikolaus Rath-19/+25
2016-10-28Released 3.0.0rc1Nikolaus Rath-3/+8
2016-10-27man: Document suid requirementMihail Konev-2/+2
2016-10-27Add max_read to fuse_conn_infoNikolaus Rath-1/+50
Eventually, this setting should be negotiated in the filesystem's init() handler (like e.g. max_write). However, this requires corresponding changes in the FUSE kernel module. In preparation for this (and to allow a transition period) we already allow (and require) filesystems to set the value in the init() handler in addition to the mount option. The end-goal is tracked in issue #91.
2016-10-27Removed obsolete FUSE_DEV_OLDNikolaus Rath-54/+8
2016-10-27Removed some more "Changed in version x.py" comments.Nikolaus Rath-20/+0
2016-10-27Recommend when to use -o default_permissions automaticallyNikolaus Rath-6/+15
2016-10-27Describe all mount options in mount.fuse(8).Nikolaus Rath-78/+99
Also improved manpage in several ways.
2016-10-27Improve documentation of -o default_permissionsNikolaus Rath-1/+9
2016-10-27Improve documentation of capability flags.Nikolaus Rath-18/+83
2016-10-27Improve man page titleNikolaus Rath-1/+1
2016-10-25Clarify which mount options are intended for file-system internal use.Nikolaus Rath-7/+9
2016-10-25Clarify difference between notify_inval_entry and notify_delete().Nikolaus Rath-3/+8
Fixes #85.
2016-10-25Use "se" instead of "f" for struct fuse_sessionNikolaus Rath-106/+106
The fuse_session pointer is sometimes called f and at other times se. The former is an artifact from the time when there still was a separate struct fuse_ll object. For consistency and to easy maintenance, this patch changes the name of the fuse_session pointer to "se" wherever possible. This patch was generated by the following Coccinelle script: @@ symbol f, se; @@ struct fuse_session * -f +se ; <... -f +se ...> @@ expression expr; @@ struct fuse_session * -f +se = expr; <... -f +se ...> @@ identifier fn; @@ fn(...,struct fuse_session * -f +se ,...) { <... -f +se ...> } Due to its complexity, the do_init() function had to be commented out and then patched manually.
2016-10-24Added debug logging to chmodNikolaus Rath-1/+8
2016-10-24Fix segfault in debug logging codeNikolaus Rath-18/+36
fi may be NULL, so we need to protect against this.
2016-10-24fuse_session_new(): don't accept empty argv, check argv[0]Nikolaus Rath-6/+34
This should help avoid people to accidentally put options into argv[0]. Fixes #100.
2016-10-20Turn fuse_operations.nopath_flag into fuse_config.nullpath_okNikolaus Rath-34/+25
Modifying struct fuse_config in the init() handler is the canonical way to adjust file-system implementation specific settings. There is no need to have flags in struct fuse_operations.
2016-10-20fuse_new(): don't accept options that don't make sense for end-usersNikolaus Rath-36/+31
Several options (use_ino, etc) depend on the file system implementation. Allowing them to be set from the command line makes no sense.
2016-10-20Document -o remember= mount option.Nikolaus Rath-3/+6
2016-10-20Pass struct fuse_config to high-level init() handler.Nikolaus Rath-36/+195
2016-10-20ChangeLog: Remind people of to use FUSE_CAP_EXPORT_SUPPORTNikolaus Rath-0/+7
2016-10-20Accept zero value for fuse_conn_info optionsNikolaus Rath-5/+15
This may not make sense for all options, but it's good practice.
2016-10-20Removed all "Introduced in..." commentsNikolaus Rath-72/+7
Since FUSE 3 is breaking backwards compatibility, this really does not matter.
2016-10-20mount.fuse(8): remove max_readahead, max_write, [a]sync_readNikolaus Rath-12/+0
These are not mount options for FUSE file systems, but capabilites that are worked out between libfuse and the fuse kernel module. For that reason, they are also not accepted by fuse_session_new().
2016-10-20Do not close stdout on fuse_session_destroy()Consus-1/+3
If fuse_session_mount() fails (or was never called in the first place) we end up with the default fd value which happens to be 0. It hurts long-running processes, which lifetime extends beyond session's lifetime.
2016-10-18Cast to void where we deliberately ignore return valuesNikolaus Rath-2/+2
2016-10-18Ignore some errorsMihail Konev-2/+2
2016-10-17Update linker scriptNikolaus Rath-2/+2
- Fixes commit d49f2e77b4. - Fixes commit 199fc0f833. - Thanks to Github user mtheall for the review!
2016-10-17fuse_session_new(): accept --debugNikolaus Rath-1/+1
Fixes commit 3e022acf4076. Thanks to Github user mtheall for the review!
2016-10-17Spelling fixNikolaus Rath-1/+1
Thanks to (Github user) mtheall for the review!
2016-10-16Ignore GNU Global tag files.Nikolaus Rath-0/+4
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.