Antonio SJ Musumeci
93f7d7d927
add link_cow feature
When enabled if a regular file is opened which has a link count > 1 it will
copy the file to a temporary file and rename over the original. Effectively
breaking the link. This behavior is similar to cow-shell and other LD_PRELOAD
based "CoW" solutions.
6 years ago
Antonio SJ Musumeci
f8563369bc
add security_capability option
6 years ago
Antonio SJ Musumeci
9830e29945
fix version generation
7 years ago
Antonio SJ Musumeci
a2bddec8c7
add 'ignore path preserving on rename' feature
8 years ago
Antonio SJ Musumeci
6a7675f2bf
symlinkify: file -> symlink-to-original-file after timeout
8 years ago
Antonio SJ Musumeci
8ba3a08f40
make dropcacheonclose runtime configurable
8 years ago
Antonio SJ Musumeci
1dc7bff6e6
wrap most posix filesystem functions
8 years ago
Antonio SJ Musumeci
7e423cd9ce
small tweaks to build on Debian kFreeBSD
8 years ago
Antonio SJ Musumeci
6086620e23
use references to srcmounts rather than copies
9 years ago
Antonio SJ Musumeci
242af777be
move from MIT to ISC license. closes #194
9 years ago
Antonio SJ Musumeci
c731b7035c
fix building without xattr
9 years ago
Antonio SJ Musumeci
9e24796429
add mergerfs pid to xattrs
9 years ago
Antonio SJ Musumeci
1c7de2d83e
fix minor integer casting issues
9 years ago
Antonio SJ Musumeci
5808ab7795
move on enospc when writing feature. closes #141
This feature mimics the standard mhddfs behavior but is more thorough.
If a write fails and the errno is set to ENOSPC then mergerfs will (if
the feature is enabled) attempt to move the file to the drive with
the most free space but only if it has enough room for the file plus
the amount to be written. If that transfer is successful it will then
unlink the original file and attempt the previously failed write again.
The copy includes copying the path and file including the acls, owners,
attributes, extended attributes, and timestamps.
9 years ago
Antonio SJ Musumeci
3163258a33
make changing credentials opportunistic + per thread setgroups cache
closes #129,#131
9 years ago
Antonio SJ Musumeci
b22528bac4
add user.mergerfs.version xattr
9 years ago
Antonio SJ Musumeci
e377d54c93
add user.mergerfs.policies xattr
9 years ago
Antonio SJ Musumeci
8178bf518c
refactor and simplify getxattr for user.mergerfs.\*
9 years ago
Antonio SJ Musumeci
f130d07fd8
config get and struct naming cleanup
10 years ago
Antonio SJ Musumeci
983fa9100d
change fuse functions to use the fuse namespace
10 years ago
Antonio SJ Musumeci
b3109ac506
add minfreespace to xattr interface
10 years ago
Antonio SJ Musumeci
b2cd79154a
stop auto calculating and storing fullpath in policies
10 years ago
Antonio SJ Musumeci
51b6d3f647
add category to policies so as to distinguish between creates and searches
10 years ago
Antonio SJ Musumeci
6ca43893ea
separate policies into individual modules
10 years ago
Antonio SJ Musumeci
3c8f12281f
move policy function type from fs to policy
10 years ago
Antonio SJ Musumeci
2bd44568a1
move Path object to separate file
10 years ago
Antonio SJ Musumeci
ccb22c1fbe
create minfreespace option. closes #71
10 years ago
Antonio SJ Musumeci
45b73e53be
fix calling of lgetxattr. closes #68
10 years ago
Antonio SJ Musumeci
c022741ffb
revert removal of 'all' policy and relevant behavior. closes #54
10 years ago
Antonio SJ Musumeci
12f393a55e
per FUSE function policies. closes #52 , #53
10 years ago
Antonio SJ Musumeci
d30cae217b
add user.mergerfs.allpaths and user.mergerfs.relpath to getxattr
10 years ago
Antonio SJ Musumeci
2e95c6e78e
merge action and search category
10 years ago
Antonio SJ Musumeci
b411c63df1
Remove 'all' policy and simplify logic
10 years ago
Antonio SJ Musumeci
6c3ff01a0a
pass const strings by reference. closes #33
10 years ago
Antonio SJ Musumeci
cfe7609bcd
find functions now return errors. closes #24
11 years ago
Antonio SJ Musumeci
7e9ccd0317
support runtime setting of srcmounts. closes #12
11 years ago
Antonio SJ Musumeci
b82db46e29
getxattr for user.mergerfs.{base,full}path returns the source paths. closes #23
11 years ago
Antonio SJ Musumeci
7b0d703f00
only allow manipulation of runtime settings via xattrs. closes #22
11 years ago
Antonio SJ Musumeci
0e12d79659
platform specific code to deal with sete{u,g}id. closes #17
11 years ago
Antonio SJ Musumeci
aab90b0503
rework policy code
11 years ago
Antonio SJ Musumeci
16fe0cf90c
remove statfs policy
11 years ago
Antonio SJ Musumeci
97ce6f5f21
use {get,list,set}xattr to modify runtime
11 years ago
Antonio SJ Musumeci
7f640c4d9e
fix building without libattr
11 years ago
Antonio SJ Musumeci
bb7a966296
initial code commit
11 years ago