diff options
author | https://www.google.com/accounts/o8/id?id=AItOawkYmMFDdf3GJ9Oba6NCVkzGc4JyB9WavMs <Xinruo@web> | 2013-12-29 15:20:28 +0000 |
---|---|---|
committer | admin <admin@branchable.com> | 2013-12-29 15:20:28 +0000 |
commit | b674afda49ff2d81d134c665a18665432c181861 (patch) | |
tree | ee05538326500123762f7ab4ebab10f748155db8 | |
parent | a83c8953b4024598fec8489ecea6f6ce1a822b3d (diff) |
-rw-r--r-- | doc/forum/DO_NOT_use_ntfs-3g_on_mac_osx_for_annex.mdwn | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/doc/forum/DO_NOT_use_ntfs-3g_on_mac_osx_for_annex.mdwn b/doc/forum/DO_NOT_use_ntfs-3g_on_mac_osx_for_annex.mdwn new file mode 100644 index 000000000..16750a1fb --- /dev/null +++ b/doc/forum/DO_NOT_use_ntfs-3g_on_mac_osx_for_annex.mdwn @@ -0,0 +1,41 @@ +After testing around git-annex on my mac using ntfs-3g to access the removable harddrive, I conclude that this is very dangerous. + +Here are some example error snippets: + + add man/man1/git-tar-tree.1 + git-annex: /Volumes/SeagateExpansion/annex/testdirect/.git/annex/objects/0K/JJ/SHA256E-s3805--948fd508a364e036ec28f5287d11825062aea2c0ed86a3a89ed871edc6ddc7a8.1/: openTempFile: interrupted (Interrupted system call) + failed + + add man/man1/git-bundle.1 + git-annex: /Volumes/SeagateExpansion/annex/testdirect/.git/annex/tmp/e3f_804_SHA256E-s8739--569a4b4fe1072e17ff0aa9a2f67d0130b9ec3ed23f96c5a4ea38ada82f50b4aa.1.log: rename: does not exist (No such file or directory) + failed + + add git-core/git-completion.bash failed + add man/man7/gitglossary.7 failed + (Recording state in git...) + + git-annex: /Volumes/SeagateExpansion/annex/testdirect/.git/annex/journal/.fuse_hidden00005dd50000010a: removeLink: does not exist (No such file or directory) + failed + git-annex: add: 3 failed + +It's interesting that after each git-annex add ., it would got fewer failures. But in the end it stuck at 2 files. After 60 times doing: git-annex add . + +It went from this: + + git-annex: add: 248 failed + +to this: + + git-annex: add: 2 failed + +Now the repository has 246 objects, let's try to convert it into an indirect one: + + git-annex indirect + ... + git-annex info + ... + annexed files in working tree: 9 + +Only 9 files made into the indirect repository! Remaining files stay as original state. Now it would be a nightmare to try to recover form this mess. + +I discourage anyone from using ntfs-3g on mac for annexing. Especially direct & indirect mode. Bare repo seems to be fine however. |