Nikolaus Rath
100944bd72
Only declare fuse_new_30() when FUSE_USE_VERSION == 30
...
This function shouldn't be called when using a newer fuse
version, so we should not define it in that case.
2017-07-13 13:27:43 +02:00
Nikolaus Rath
e870a0427a
Added public fuse_lib_help(), bumped minor version
2017-07-08 12:48:08 +02:00
Nikolaus Rath
79b446d22c
Fixed description of struct fuse_conn_info->time_gran
...
At least on Linux kernel 4.9, a value of zero gives more
than 1-sec accuracy.
2017-07-08 01:46:30 +02:00
Nikolaus Rath
77e9e15244
Error out if FUSE_USE_VERSION is not defined
...
This is safer than making assumptions.
2017-07-07 15:48:50 +02:00
Nikolaus Rath
31ebb7b975
Don't use emacs' python-mode for meson files
...
There is a proper meson-mode now.
2017-07-07 15:48:50 +02:00
Nikolaus Rath
72f558d23b
Clarify *_timeout semantics
...
When changes always come through kernel, timeouts
should be large.
2017-06-08 13:32:46 -04:00
Nikolaus Rath
6b8dddbd8e
Clarify that destroy() is called without kernel connection
2017-05-31 13:36:52 -07:00
Nikolaus Rath
a762330025
Fix typo in comment.
2017-05-25 13:12:20 -07:00
Nikolaus Rath
6ac254c00f
Document RENAME_EXCHANGE and RENAME_NOREPLACE flags.
2017-05-25 13:12:06 -07:00
Nikolaus Rath
acd0e6469a
Improved documentation of fuse_context.private_data
...
In particular, don't call it "user_data" in one place and
"private_data" elsewhere.
Changing the name of the variable in the prototype should not affect
backwards compatibility.
Fixes : #155 .
2017-04-12 09:33:22 -07:00
Nikolaus Rath
0a096eb2bf
Document true meaning of the 'use_ino' option.
2017-04-07 16:40:15 -07:00
Nikolaus Rath
ee0b29552a
open(): fix documentation of O_TRUNC flag
...
The FUSE_CAP_ATOMIC_IO_TRUNC capability is enabled by default,
but we didn't update the open() documentation accordingly.
2017-03-15 16:48:27 -07:00
Nikolaus Rath
9f96db7125
Added experimental support for building with Meson+Ninja
2017-01-12 15:19:04 -08:00
Nikolaus Rath
56fde4ba9e
Improve documentation of fuse_session_unmount
2016-11-29 08:25:52 -08:00
Nikolaus Rath
8e9cf9ecc6
Return signal value if session loop is terminated by signal and improve documentation
2016-11-29 08:25:14 -08:00
Nikolaus Rath
940a1f9f33
Improve documentation of fuse_file_info.keep_cache
2016-11-29 08:12:57 -08:00
Nikolaus Rath
4fdf83f4dd
Document that FUSE_CAP_POSIX_ACL turns on -o default_permissions
2016-11-22 16:39:59 -08:00
Nikolaus Rath
05de3c98c0
Add support for FUSE_HANDLE_KILLPRIV
...
Fixes #116 .
2016-11-22 15:56:55 -08:00
Nikolaus Rath
e16fdc06d7
Add support for FUSE_POSIX_ACL
...
Fixes #117 .
2016-11-22 15:15:05 -08:00
Nikolaus Rath
3296ad988d
Added support for FUSE_PARALLEL_DIROPS
...
Enabled by default since we haven't released libfuse 3.0 yet :-).
Fixes #112 .
2016-11-22 15:05:52 -08:00
Nikolaus Rath
5e35dfb5a7
Updated kernel API headers.
...
Taken from Linux kernel commit 27bcd37.
2016-11-22 14:58:42 -08:00
Nikolaus Rath
d4df7f163a
Document fuse_conn_info.max_background
...
Fixes #95 .
2016-11-22 14:48:08 -08:00
Nikolaus Rath
08ce854a73
Enable more capabilities by default, and document defaults.
...
Fixes #112 .
2016-11-16 13:14:30 -08:00
Nikolaus Rath
e3958ae933
Fix typo in comment
2016-11-16 12:42:35 -08:00
Nikolaus Rath
c22da7f3a8
Add support for more detailed error codes from main loop
2016-11-16 12:41:41 -08:00
Nikolaus Rath
2e6cd2d425
Fix typo in comment
2016-11-16 12:22:54 -08:00
Nikolaus Rath
c205bc91ca
Document special semantics of ENOSYS error code.
2016-11-16 12:22:38 -08:00
Nikolaus Rath
77eae112a7
Document "congestion_threshold" parameter.
...
Fixes #96 .
Thanks to Maxim Patlasov <mpatlasov@virtuozzo.com > for help!
2016-11-16 11:30:05 -08:00
Nikolaus Rath
73bfe763aa
Make max_background and congestion_threshold "officially undocumented"
2016-11-14 19:47:32 -08:00
Nikolaus Rath
387cfeffe6
Improve documentation of FUSE_CAP_AUTO_INVAL_DATA
...
Fixes #84 .
2016-11-14 19:29:59 -08:00
Nikolaus Rath
ad463481c4
Improve getattr() description
...
When writeback caching is enabled, the st_size value reported
by the filesystem may be ignored.
2016-11-14 16:13:11 -08:00
Nikolaus Rath
a23607b097
Improve description of FUSE_CAP_NO_OPEN_SUPPORT flag.
...
Fixes #107 .
2016-11-14 11:33:33 -08:00
Nikolaus Rath
47426d453d
Added documentation for FUSE_CAP_FLOCK_LOCKS
...
Fixes #106 .
2016-11-10 14:52:18 -08:00
Nikolaus Rath
c95846bcc6
Improve documentation of fuse_conn_info.time_gran.
...
Fixes #97 .
2016-11-10 14:04:51 -08:00
Nikolaus Rath
108c8260d3
Fix documentation: fuse_file_info may be NULL for open files
...
This turns issue #62 from a bug into an enhancement :-).
2016-11-06 21:47:56 -08:00
Nikolaus Rath
079b3f625e
Removed reference to fgetattr and ftruncate (don't exist anymore)
2016-11-06 21:44:30 -08:00
Nikolaus Rath
7a9e0376f2
Fixed typo in comment.
2016-11-06 21:44:05 -08:00
Nikolaus Rath
7983414b33
Clean-up doxygen documentation
...
Fixes : #81 .
2016-10-28 20:44:39 -07:00
Nikolaus Rath
e885e84f79
Add max_read to fuse_conn_info
...
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-27 21:38:42 -07:00
Nikolaus Rath
97685957d7
Removed some more "Changed in version x.py" comments.
2016-10-27 20:50:16 -07:00
Nikolaus Rath
131955ff7c
Recommend when to use -o default_permissions automatically
2016-10-27 13:57:19 -07:00
Nikolaus Rath
d73b198c1c
Improve documentation of capability flags.
2016-10-27 12:32:03 -07:00
Nikolaus Rath
9bc565c77e
Clarify difference between notify_inval_entry and notify_delete().
...
Fixes #85 .
2016-10-25 20:51:04 -07:00
Nikolaus Rath
b3ab365fda
fuse_session_new(): don't accept empty argv, check argv[0]
...
This should help avoid people to accidentally put options
into argv[0].
Fixes #100 .
2016-10-24 20:31:29 -07:00
Nikolaus Rath
1d9f26f373
Turn fuse_operations.nopath_flag into fuse_config.nullpath_ok
...
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-20 15:45:32 -07:00
Nikolaus Rath
6c66dac9f2
Pass struct fuse_config to high-level init() handler.
2016-10-20 14:05:15 -07:00
Nikolaus Rath
bcb8568a46
Removed all "Introduced in..." comments
...
Since FUSE 3 is breaking backwards compatibility, this really does
not matter.
2016-10-20 14:04:37 -07:00
Nikolaus Rath
47c5e445c7
Default to FUSE_USE_VERSION 30
2016-10-16 15:31:54 -07:00
Nikolaus Rath
c8429618ad
fuse_new(): instead of listing options, refer to mount.fuse(8)
2016-10-16 14:18:36 -07:00
Nikolaus Rath
93849ac2aa
fuse_session_new(): instead of listing options, refer to mount.fuse(8)
2016-10-16 14:18:07 -07:00