question
authorJoey Hess <joeyh@joeyh.name>
Wed, 11 Nov 2020 11:53:42 +0000 (07:53 -0400)
committerJoey Hess <joeyh@joeyh.name>
Wed, 11 Nov 2020 11:53:42 +0000 (07:53 -0400)
doc/forum/Hardlinks_instead_of_symlinks_in_locked+thin_mode/comment_2_6498a44801996cc5a412558c75f6157e._comment [new file with mode: 0644]

diff --git a/doc/forum/Hardlinks_instead_of_symlinks_in_locked+thin_mode/comment_2_6498a44801996cc5a412558c75f6157e._comment b/doc/forum/Hardlinks_instead_of_symlinks_in_locked+thin_mode/comment_2_6498a44801996cc5a412558c75f6157e._comment
new file mode 100644 (file)
index 0000000..cfc47f6
--- /dev/null
@@ -0,0 +1,28 @@
+[[!comment format=mdwn
+ username="joey"
+ subject="""comment 2"""
+ date="2020-11-11T11:36:37Z"
+ content="""
+> Such a combined mode would have all the benefits of locked mode
+> (protection, easy-to-spot missing files) and of direct mode (no
+> duplication of files).
+
+Well, it does have the benefits of locked mode, but does it really have
+additional benefits like direct mode did? 
+
+Locked mode also does not involve duplication of files so that's kind of
+irrelevant.
+
+The actual benefit of direct mode was well, you could directly modify
+files, in place. This mode would not have that benefit. annex.thin
+also allows direct modification in place.
+
+The only advantage that the old direct mode had, over the
+current `git config annex.thin true; git-annex adjust --unlock`, is that
+direct mode managed to not store two copies of content even on a filesystem
+that does not support hard links. But this new mode relies on hard links.
+
+I do sort of like this idea, but I'm struggling to articulate why at the
+moment, and so unsure how I'd even begin to document it. Any help
+appreciated. :)
+"""]]