aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorLines
2017-09-12Use "mkdir" instead of "md" in instructions.Nikolaus Rath-1/+1
Fixes: #205.
2017-09-11fuse_kern_unmount(): close fd before calling umountNikolaus Rath-1/+1
This is what the Linux version does, and it fixes a timeout under FreeBSD when the kernel sends a FUSE_DESTROY request that is never answered.
2017-08-25example/ioctl: build on FreeBSD, but add protocol check instead.Nikolaus Rath-5/+7
2017-08-25do_init(): print missing capabilities if there are any.Nikolaus Rath-1/+2
2017-08-25Fix writeback capability check.Nikolaus Rath-1/+1
2017-08-25examples/{ioctl,null}: don't build under FreeBSD instead of skipping tests.Nikolaus Rath-26/+23
2017-08-24printcap: use temporary directory, not fileNikolaus Rath-6/+3
Mounting a file doesn't seem to work under FreeBSD.
2017-08-24Skip testing null and ioctl examples under FreeBSD.Nikolaus Rath-0/+10
This seems to be unsupported. However, me may also be doing it wrong. I've asked on the freebsd-fs list for help.
2017-08-24Removed unused import.Nikolaus Rath-1/+1
2017-08-24passthrough_ll: only active EXPORT_SUPPORT of supported by kernel.Nikolaus Rath-1/+3
2017-08-24Don't use -o auto_unmount under FreeBSD.Nikolaus Rath-0/+4
2017-08-24Dropped support for building with autotoolsNikolaus Rath-360/+3
It's just too much pain to keep it working.
2017-08-24Use printcap() to control test executionNikolaus Rath-15/+54
That way, we run only tests that are supported by the running kernel.
2017-08-24Added testcase for examples/printcapNikolaus Rath-0/+6
2017-08-24Add idle_threads mount option.Joseph Dodge-21/+105
2017-08-24Renamed notify_inval_inode_fh to invalidate_pathNikolaus Rath-6/+6
The previous name didn't make much sense.
2017-08-24Allow inode cache invalidation in high-level APISławek Rudnicki-4/+379
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-23Added examples/printcapNikolaus Rath-2/+135
2017-08-23fuse_loop_mt(): on error, return errno rather than -1.Nikolaus Rath-2/+5
2017-08-23fuse_loop(): don't return non-zero if there was no errorNikolaus Rath-0/+7
2017-08-22Document and unify error codes of fuse_lowlevel_notify_*Nikolaus Rath-15/+46
2017-08-22Make passthrough_fh work under FreeBSD.Nikolaus Rath-0/+15
2017-08-22Fix two compiler warnings.Nikolaus Rath-2/+2
2017-08-22Document meaning of zero telldir() offset.Nikolaus Rath-15/+16
2017-08-22Allow building without iconv.Nikolaus Rath-1/+9
cfg.has('HAVE_ICONV') was always true.
2017-08-22Use 'buildtype' to set debug/optimization optionsNikolaus Rath-2/+2
Until now, running `mesonconf -D buildtype=debug` didn't have any effect - which was confusing.
2017-08-14directly call fuse_new_31() instead of fuse_new() internallyuserwithuid-3/+6
this fixes building with lto, which failed since commit 503e32d01e4db00e90d7acfd81ab05386559069f
2017-08-14Fixed udev rules directory.Nikolaus Rath-2/+4
2017-08-11Skip tests that aren't supported under FreeBSD.Nikolaus Rath-8/+25
2017-08-11fuse_lib_init(): don't set FUSE_CAP_EXPORT_SUPPORT unconditionallyNikolaus Rath-1/+2
FreeBSD kernel does not support this.
2017-08-11Don't attempt to run fusermount3 under BSD.Nikolaus Rath-10/+21
2017-08-11Call cp with -p instead of --preserve=modeNikolaus Rath-1/+1
Preserving other attributes doesn't hurt, and --preserve is not supported under FreeBSD.
2017-08-11Don't pass --update to cpNikolaus Rath-1/+3
Doesn't work on FreeBSD, and not strictly necessary.
2017-08-11Don't build passthrough_ll under BSD.Nikolaus Rath-2/+10
2017-08-11fuse_kern_unmount(): fix variable type.Nikolaus Rath-1/+2
2017-08-11Fix unused variable warnings under FreeBSD.Nikolaus Rath-2/+2
2017-08-08Fix FreeBSD platform detection.Nikolaus Rath-1/+1
2017-08-07Fix support for FUSE_POSIX_ACLMarcin Sulikowski-0/+9
The kernel may set the FUSE_POSIX_ACL flag in the FUSE_INIT request to notify the userspace daemon that the OS does support POSIX ACLs for FUSE file systems. If the filesystem implementation wants to enable POSIX ACLs, it has to reply with the FUSE_POSIX_ACL flag set. However, the reply to the kernel never includes this flag, even if the implementation expresses the need by setting the FUSE_CAP_POSIX_ACL flag in the fuse_conn_info::want variable passed to its init callback. We modify the library to handle requests for FUSE_CAP_POSIX_ACL correctly, i.e., set the FUSE_POSIX_ACL flag in the FUSE_INIT reply to the kernel. Signed-off-by: Marcin Sulikowski <marcin.sulikowski@editshare.com>
2017-08-06Released 3.1.1Nikolaus Rath-6/+11
2017-08-06os_open(): don't attempt to close fd if open failed.Nikolaus Rath-1/+1
2017-08-06Added writeback cache to passthrough_llNikolaus Rath-23/+107
This fixes issue #191 (where the test was done by simply adding FUSE_CAP_WRITEBACK_CACHE without adjusting the flags in the open() call). Fixes: #191.
2017-08-06Clarified documentation for fuse_parse_cmdline()Nikolaus Rath-0/+3
2017-08-06Removed compat stuff in passthrough_llNikolaus Rath-42/+0
As the comment says, this made it compile but not work. If there is a need, we can add these checks to meson.build to only build this file if the prerequisites are satisfied.
2017-08-06Clarify how the filesystem should handle open/create flagsNikolaus Rath-25/+78
2017-08-04passthrough_ll: added more debugging outputNikolaus Rath-1/+20
2017-08-04Added append and seek testsNikolaus Rath-3/+41
2017-08-04Include ChangeLog in tarballNikolaus Rath-1/+2
2017-08-03Simplify and fix FreeBSD fsname handlingNikolaus Rath-33/+10
This should simplify the code a lot. It also corrects a bug in that the (former) add_default_fsname() function actually set the -osubtype option.
2017-08-03Simply #ifdefsNikolaus Rath-53/+0
mount_bsd.c is only used when compiling for *BSD, and FreeBSD is the only BSD that supports FUSE. So there really is no need to check if this file is compiled under FreeBSD.
2017-08-03Fix FreeBSD detection in meson.buildNikolaus Rath-2/+2