Comments (5)
The file contents are also used as part of the fingerprint, though you can disable this behavior (with some loss in safety -- see the manual) by setting both the fastcheck and fastercheckUNSAFE options to true.
You might try running md5 on the local and acd-mounted copies of the file and see if it agrees with diff. Otherwise, running unison with -debug=verbose (on just a single file -- the output will be large) and looking for where it's making fingerprints might give a hint.
from unison.
Thanks for your ideas. I have checked the file contents using diff and md5sum, they are identical. The debug doesn't seem to give much away about what is being fingerprinted or when. Interestingly the code suggests that the exception should indicate at least whether it was contents or metadata that differ, but that doesn't seem to be shown in the debug trace.
I have tried /c/amazon/Pictures/nas9=true and the debug is quite different, but fails because of a mismatched fingerprint. I believe this is purely based on size? The files at both ends are the same size, and the four references in the debug all match the expected size.
Any further ideas?
from unison.
the best shot for you is to override os.reasonForFingerprintMismatch to output as debug also the content of both fpdata. Diff after the function was done may not show everything.
from unison.
Thanks for the hints. For anyone else's benefit after some debugging I found the cause of the problem was on the acd_cli side, as by default it runs commands asynchronously. This can be changed using the --single-threaded option, after which unison and acd_cli work well together
from unison.
Thanks for the follow-up!
from unison.
Related Issues (20)
- Be more specific on “Lost connection with server” HOT 6
- When synchronizing with SSH, only the first line of a multi-line message from the server is marked as such HOT 3
- work around macos 13 beta issue - Attribute not found setattrlist HOT 3
- Stop publishing artifacts with old ocaml
- Backups locations are mixed for backupcurr and backup, and shared across replicas (central)
- Add backupcurrdelete preference
- Document unison-fsmonitor HOT 1
- build/clean leaves files HOT 1
- Interrupting the text UI terminates the child process for `ssh` too early HOT 3
- Progress calculator treats deletions as zero-cost (or only considers network transfers?) HOT 2
- Add release artifact with documentation
- unison.opam "maintainer" field is a subscription-required mailinglist HOT 3
- Feature request: Allowing unison to back up an entire file system starting at / HOT 1
- Clarify and document the status of opam packages, and publish them in the opam repository HOT 13
- Add preference/option similar to rsync's `-x`, to not cross mount points
- Add ability to configure number of days until .unison*tmp files are deleted HOT 2
- Add ability to specify custom prog/script to run on each file to decide whether to include or ignore HOT 2
- unison -version prints no output (2.53.0, ocaml 4.11, centos8_aarch64) HOT 8
- Change opam packaging to have separate CLI/GUI packages and maybe fsmonitor HOT 1
- Add action to unison-gui "Open containing folder in file manager" HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from unison.