Antonio SJ Musumeci
3b0d3715a1
abstract futimesat and getting of atime/mtime
9 years ago
Adam Knight
59ece5fdb4
Adding position arg to xattr APIs
Finder copies are broken without this argument, even if it’s fixed to 0. Upside: it reduces the number of times we platform-check in the xattr code.
9 years ago
Adam Knight
6cfd4d5d7b
Clean up some cpp logic for __APPLE__
9 years ago
Adam Knight
d1aec144a6
Updating return/variable types
After running Clang’s analyzer on it there were quite a few places where there were mis-matched store sizes and signs. I updated them so that the underlying code more closely-matches the OS APIs and the type change happens at the FUSE connection.
In this way, if FUSE ever updates the API to actually match the APIs of modern OSes, it’s a fix in one place.
Also, I updated read/write to return the total read/write value the OS returned rather than blindly return the request count.
9 years ago
Adam Knight
39b7772549
Fix issue with AT_FDCWD
OSX doesn’t like AT_FDCWD in it’s fcntl, but getcwd does the job.
Also fixed an issue with absolute paths in the process.
9 years ago
Adam Knight
1aea1d4e0d
Get xattrs working on macOS.
As the position argument isn’t carried all the way down resource forks won’t work properly (though it easily could be, that would change the internal API for everyone).
9 years ago
Adam Knight
d9ae6df01c
Get macOS working again.
9 years ago
Antonio SJ Musumeci
3244314310
Merge pull request #386 from trapexit/travis-ci
setup travis-ci
9 years ago
Antonio SJ Musumeci
9d799ffc9f
setup travis-ci
9 years ago
Antonio SJ Musumeci
9486bc9b21
Merge pull request #385 from trapexit/clone-errors
make fs::attr return ENOTSUP on EINVAL #381
9 years ago
Antonio SJ Musumeci
c043ef95a3
make fs::attr return ENOTSUP on EINVAL #381
9 years ago
Antonio SJ Musumeci
3728e39655
Merge pull request #383 from trapexit/docs
explicitly define path preservation, better explain move issues
9 years ago
Antonio SJ Musumeci
215f129a2a
explicitly define path preservation, better explain move issues
9 years ago
Antonio SJ Musumeci
af9a71f84c
Merge pull request #382 from trapexit/docs
fix incorrect section header syntax
9 years ago
Antonio SJ Musumeci
bb4ec913c6
fix incorrect section header syntax
9 years ago
Antonio SJ Musumeci
38e5815ba7
Merge pull request #379 from trapexit/docs
add info on inodes running out to faq on filled drives
9 years ago
Antonio SJ Musumeci
cf2cb54e2a
add info on inodes running out to faq on filled drives
9 years ago
Antonio SJ Musumeci
b7269e9963
Merge pull request #378 from trapexit/docs
try to clarify how path preserving policies work and other tweaks to docs
9 years ago
Antonio SJ Musumeci
94ebccc6ed
try to clarify how path preserving policies work and other tweaks to docs
9 years ago
Antonio SJ Musumeci
09dabc7b4c
Merge pull request #376 from trapexit/docs
update docs to include dropcacheonclose and warn about directory mtime
9 years ago
Antonio SJ Musumeci
4e7e74d6f0
update docs to include dropcacheonclose and warn about directory mtime
9 years ago
Antonio SJ Musumeci
dca6cb4826
Merge pull request #374 from trapexit/flush-cache-on-close
add option to drop file caches before closing files
9 years ago
Antonio SJ Musumeci
6aa62d03ff
add option to drop file caches before closing files
9 years ago
Antonio SJ Musumeci
3a89491507
Merge pull request #372 from trapexit/apply-but-check
check metadata on chown/chmod errors when cloning
9 years ago
Antonio SJ Musumeci
492d895632
check metadata on chown/chmod errors when cloning
9 years ago
Antonio SJ Musumeci
899670bc93
Merge pull request #365 from trapexit/docs
misc document updates
9 years ago
Antonio SJ Musumeci
9cc9bb9de2
misc document updates
9 years ago
Antonio SJ Musumeci
c25974de68
Merge pull request #362 from trapexit/docs
update documentation, focus on explaining double caching & direct_io
9 years ago
Antonio SJ Musumeci
16e7c72e99
update documentation, focus on explaining double caching & direct_io
9 years ago
Antonio SJ Musumeci
011febcb91
Merge pull request #361 from trapexit/cleanup
Cleanup
9 years ago
Antonio SJ Musumeci
a60d815e92
add ifndefs to all headers
9 years ago
Antonio SJ Musumeci
e93c946198
limit need to explicitly call .c_str()
9 years ago
Antonio SJ Musumeci
7b4e1ea36d
remove clone command
9 years ago
Antonio SJ Musumeci
726b88e039
restructure error calculation
9 years ago
Antonio SJ Musumeci
078e4bab49
Merge pull request #360 from trapexit/posix-acl
check for system.posix_acl_default before setting umask
9 years ago
Antonio SJ Musumeci
d67d5dec77
check for system.posix_acl_default before setting umask
9 years ago
Antonio SJ Musumeci
10a9918d20
Merge pull request #352 from trapexit/directio
use different read and write functions when using direct_io
9 years ago
Antonio SJ Musumeci
1aa76a54c2
use different read and write functions when using direct_io
9 years ago
Antonio SJ Musumeci
437067b5e0
Merge pull request #351 from trapexit/inode
compute inode in readdir
9 years ago
Antonio SJ Musumeci
67b48fcb3a
compute inode in readdir
9 years ago
Antonio SJ Musumeci
ea403b4f5a
Merge pull request #350 from trapexit/versionfile
only remove src/version.hpp if git repo and git available
9 years ago
Antonio SJ Musumeci
b1459c6cdc
only remove src/version.hpp if git repo and git available
9 years ago
Antonio SJ Musumeci
953bca02fc
Merge pull request #349 from trapexit/inode
support setting of inodes (using use_ino option)
9 years ago
Antonio SJ Musumeci
c8fa51c81a
support setting of inodes (using use_ino option)
creates a 64bit inode value from the underlying device value + original inode
final_ino = orig_ino | (dev << 32)
not perfect but given few filesystems use 64bit inodes nor is st_dev more than 16bit usually it should be fine
9 years ago
Antonio SJ Musumeci
365e153ae7
Merge pull request #348 from trapexit/readdir-set
replace std::set with klib's khash to increase readdir performance
9 years ago
Antonio SJ Musumeci
822204ff34
replace std::set with klib's khash to increase readdir performance
9 years ago
Antonio SJ Musumeci
9a261a7864
Merge pull request #341 from trapexit/docs
note that mergerfs should be run as root
9 years ago
Antonio SJ Musumeci
5f7a168d0b
note that mergerfs should be run as root
9 years ago
Antonio SJ Musumeci
aa71116928
Merge pull request #340 from trapexit/clonepath-errors
return clonepath errors
9 years ago
Antonio SJ Musumeci
35075bb0cd
return clonepath errors
currently the error is ignored and it was expected the primary call would
fail. problem is it returns confusing errors as a result. (eg ENOENT vs EPERM)
9 years ago