trapexit
0371f03def
Rework how fuse request context is handled ( #1543 )
1 week ago
trapexit
8c649d33ee
Start using std::filesystem::path for fusepath ( #1522 )
1 month ago
trapexit
f64ff9ca1e
Revert removal of readdir init setup, simplify cfg usage ( #1520 )
2 months ago
trapexit
e8cd74cab0
Move everything to negative errno return types ( #1499 )
3 months ago
trapexit
e310d24615
Add support for FUSE passthrough
5 months ago
trapexit
86b50d2d4e
Rework policies to return branches rather than path strings
5 months ago
Antonio SJ Musumeci
de2a82800a
Improve mount waiting + misc doc improvements
Adds user.mergerfs.branch and user.mergerfs.branch_mounts_here
Adds .mergerfs.branch and .mergerfs.branch_mounts_here files.
6 months ago
Antonio SJ Musumeci
707d298d7c
Create functions can set branches RO on EROFS
2 years ago
Antonio SJ Musumeci
9adddfc66d
Add option to lazy umount target mount point
3 years ago
Antonio SJ Musumeci
c9a935835f
Fix query of attr during symlink
Using getattr when follow-symlink is enabled causes invalid type to the kernel
if symlink pointed to non-symlink.
4 years ago
Antonio SJ Musumeci
c43b464d6c
Call FUSE getattr rather than syscall for extra logic
While more efficient calling regular getattr (stat) leads to incorrect
information being returned and would not work correctly when using
symlinkify.
4 years ago
Antonio SJ Musumeci
8adebc9489
new features: follow-symlinks, rename-exdev, link-exdev
* follow-symlinks: allows mergerfs to transparently follow symlinks
* link-exdev: in the event a link returns EXDEV create a symlink instead
* rename-exdev: in the event a rename returns EXDEV move the oldpath and
create a symlink for the newpath
5 years ago
Antonio SJ Musumeci
538467b86d
config: rework global config, remove rwlock, make branches RCU like
Also added unit tests. Should have done separately but found a number of bugs.
5 years ago
Antonio SJ Musumeci
5a3184359d
rework some function error handling
chmod, chown, removexattr, setxattr, truncate, utimens:
* if no errors: return 0
* if no successes: return first error
* if file acted on was the same as related search function: return its value
* return 0
rmdir, unlink:
* if no errors: return 0
* return first error
5 years ago
Antonio SJ Musumeci
fc3453932a
branches: add per branch minfreespace w/ original value as default
example: /mnt/disk0=RW,1G:/mnt/disk1=RW,2G
5 years ago
Antonio SJ Musumeci
2fe20b888e
clean up and separate out fs_* files
5 years ago
Antonio SJ Musumeci
ec15872a1f
cleanup function signatures and definitions
5 years ago
Antonio SJ Musumeci
54c41c4994
rework config management
* Add standard way to do str2val and val2str conversion
* Add support for a config file
* Add support for reading and writing settings via ioctl
6 years ago
Antonio SJ Musumeci
9d9ee7b71d
general code cleanup
7 years ago