aboutsummaryrefslogtreecommitdiffstats
path: root/include/fuse.h
AgeCommit message (Collapse)AuthorLines
2019-04-06Various documentation improvementsAlan Somers-13/+12
See issue #389 for some related discussions.
2019-03-11Defined the (*ioctl)() commands as unsigned int (#381)Jean-Pierre André-3/+7
Instead of the Posix ioctl(2) command, Linux uses its own variant of ioctl() in which the commands are requested as "unsigned long" and truncated to 32 bits by the fuse kernel module. Transmitting the commands to user space file systems as "unsigned int" is a workaround for processing ioctl() commands which do not fit into a signed int.
2019-03-10Improve documentation for the flush method (#378)Alan Somers-13/+20
Fixes: #373
2018-11-19libfuse: add copy_file_range() supportNiels de Vos-0/+22
Add support for the relatively new copy_file_range() syscall. Backend filesystems can now implement an efficient way of cloning/duplicating data ranges within files. See 'man 2 copy_file_range' for more details.
2018-10-09Add unprivileged option in `mount.fuse3`Mattias Nissler-0/+10
The unprivileged option allows to run the FUSE file system process without privileges by dropping capabilities and preventing them from being re-acquired via setuid / fscaps etc. To accomplish this, mount.fuse sets up the `/dev/fuse` file descriptor and mount itself and passes the file descriptor via the `/dev/fd/%u` mountpoint syntax to the FUSE file system.
2018-08-29return different non-zero error codes (#290)Oded Arbel-0/+9
Return different error codes from fuse_main()
2018-07-02fuse.h: fix typo (currenlty -> currently)William Woodruff-1/+1
2018-05-24fix documentation for opendir in fuse_operationsCarl Edquist-1/+1
the filehandle from opendir is passed to releasedir - there is no closedir function in fuse_operations
2018-04-13Drop redundant ; from FUSE_REGISTER_MODULE()Tomohiro Kusumi-1/+1
Callers do (and should) use ;.
2017-11-27Spelling (#223)Josh Soref-8/+8
Fix spelling errors
2017-08-24Add idle_threads mount option.Joseph Dodge-3/+7
2017-08-24Allow inode cache invalidation in high-level APISławek Rudnicki-0/+13
We re-introduce the functionality of invalidating the caches for an inode specified by path by adding a new routine fuse_invalidate_path. This is useful for network-based file systems which use the high-level API, enabling them to notify the kernel about external changes. This is a revival of Miklos Szeredi's original code for the fuse_invalidate routine.
2017-08-22Document meaning of zero telldir() offset.Nikolaus Rath-0/+6
2017-08-06Clarify how the filesystem should handle open/create flagsNikolaus Rath-13/+46
2017-07-13Only declare fuse_new_30() when FUSE_USE_VERSION == 30Nikolaus Rath-2/+2
This function shouldn't be called when using a newer fuse version, so we should not define it in that case.
2017-07-08Added public fuse_lib_help(), bumped minor versionNikolaus Rath-0/+19
2017-05-25Document RENAME_EXCHANGE and RENAME_NOREPLACE flags.Nikolaus Rath-2/+10
2017-04-12Improved documentation of fuse_context.private_dataNikolaus Rath-13/+20
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-07Document true meaning of the 'use_ino' option.Nikolaus Rath-1/+6
2016-11-29Improve documentation of fuse_session_unmountNikolaus Rath-0/+2
2016-11-29Return signal value if session loop is terminated by signal and improve ↵Nikolaus Rath-4/+9
documentation
2016-11-22Add support for FUSE_HANDLE_KILLPRIVNikolaus Rath-0/+12
Fixes #116.
2016-11-16Fix typo in commentNikolaus Rath-1/+1
2016-11-16Add support for more detailed error codes from main loopNikolaus Rath-2/+2
2016-11-06Fix documentation: fuse_file_info may be NULL for open filesNikolaus Rath-8/+12
This turns issue #62 from a bug into an enhancement :-).
2016-11-06Removed reference to fgetattr and ftruncate (don't exist anymore)Nikolaus Rath-3/+3
2016-11-06Fixed typo in comment.Nikolaus Rath-1/+1
2016-10-28Clean-up doxygen documentationNikolaus Rath-4/+4
Fixes: #81.
2016-10-27Removed some more "Changed in version x.py" comments.Nikolaus Rath-15/+0
2016-10-27Recommend when to use -o default_permissions automaticallyNikolaus Rath-6/+6
2016-10-24fuse_session_new(): don't accept empty argv, check argv[0]Nikolaus Rath-5/+13
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-25/+13
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-20Pass struct fuse_config to high-level init() handler.Nikolaus Rath-2/+181
2016-10-20Removed all "Introduced in..." commentsNikolaus Rath-37/+1
Since FUSE 3 is breaking backwards compatibility, this really does not matter.
2016-10-16fuse_new(): instead of listing options, refer to mount.fuse(8)Nikolaus Rath-25/+6
2016-10-15Make --help output more suitable for end-userNikolaus Rath-6/+27
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-15Pass fuse_file_info to getattr, chown, chmod, truncate, utimens handlersNikolaus Rath-47/+39
This obsoletes the ftruncate & fgetattr handlers. Fixes #58.
2016-10-13Make -o clone_fd into a parameter of session_loop_mt().Nikolaus Rath-1/+3
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-10fuse_main(): extend support for printing helpNikolaus Rath-1/+18
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-02Edited comments for clarity.Nikolaus Rath-8/+6
2016-10-02Turn struct fuse_chan into an implementation detailNikolaus Rath-27/+16
The only struct fuse_chan that's accessible to the user application is the "master" channel that is returned by fuse_mount and stored in struct fuse_session. When using the multi-threaded main loop with the "clone_fd" option, each worker thread gets its own struct fuse_chan. However, none of these are available to the user application, nor do they hold references to struct fuse_session (the pointer is always null). Therefore, any presence of struct fuse_chan can be removed without loss of functionality by relying on struct fuse_session instead. This reduces the number of API functions and removes a potential source of confusion (since the new API no longer looks as if it might be possible to add multiple channels to one session, or to share one channel between multiple sessions). Fixes issue #17.
2016-10-02Introduce separate mount/umount functions for low-level API.Nikolaus Rath-0/+26
2016-10-01Improve documentation of argument parsing.Nikolaus Rath-0/+7
2016-09-27Documentation improvements.Nikolaus Rath-1/+4
2016-04-23Remove leading _ on header guards to comply with reserved identifier ↵Sam Stuewe-3/+3
requirements (#29) Remove leading _ on header guards to comply with reserved identifier requirements
2016-04-02Fix spelling mistakeEric Engestrom-1/+1
2016-03-09fuse.h doc fix: The f_frsize field is not ignored by the statfs operation.Jan Blumschein-1/+1
Apparently f_frsize has been passed on transparently since 2b4781100812d42e704c39c51303cd28ad3f9aa6 (Nov 28, 2005).
2014-07-21libfuse: highlevel API: fix directory file handle passed to ioctl() methodMiklos Szeredi-0/+3
Reported by Eric Biggers
2014-07-15libfuse: add flags to ->rename()Miklos Szeredi-2/+2
See renameat2() system call in linux-3.15 and later kernels.
2014-03-05libfuse: implement readdirplus for high-level APIEric Wong-3/+34
Reuse the old "readdir" callback, but add a flags argument, that has FUSE_READDIR_PLUS in case this is a "plus" version. Filesystems can safely ignore this flag, but if they want they can add optimizations based on it: i.e. only retrieve the full attributes in PLUS mode. The filler function is also given a flags argument and the filesystem can set FUSE_FILL_DIR_PLUS if all the attributes in "stat" are valid.