diff options
author | https://launchpad.net/~stephane-gourichon-lpad <stephane-gourichon-lpad@web> | 2017-03-14 19:15:40 +0000 |
---|---|---|
committer | admin <admin@branchable.com> | 2017-03-14 19:15:40 +0000 |
commit | 6e8dd2467791fd1b788f4c61c384b85b1ca5b6bc (patch) | |
tree | b29390656b7b786feacf443387292938b1343337 | |
parent | 4dec2827e16edea7b9b695dba1872364666ebb29 (diff) |
Added a comment: Isn't this procedure assuming that lost+found contains only uncorrupted previously annexed files?
-rw-r--r-- | doc/tips/recover_data_from_lost+found/comment_4_960fcfe8c5c7bcb7350f61ecfb84f36c._comment | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/doc/tips/recover_data_from_lost+found/comment_4_960fcfe8c5c7bcb7350f61ecfb84f36c._comment b/doc/tips/recover_data_from_lost+found/comment_4_960fcfe8c5c7bcb7350f61ecfb84f36c._comment new file mode 100644 index 000000000..3c2105e02 --- /dev/null +++ b/doc/tips/recover_data_from_lost+found/comment_4_960fcfe8c5c7bcb7350f61ecfb84f36c._comment @@ -0,0 +1,27 @@ +[[!comment format=mdwn + username="https://launchpad.net/~stephane-gourichon-lpad" + nickname="stephane-gourichon-lpad" + avatar="http://cdn.libravatar.org/avatar/02d4a0af59175f9123720b4481d55a769ba954e20f6dd9b2792217d9fa0c6089" + subject="Isn't this procedure assuming that lost+found contains only uncorrupted previously annexed files?" + date="2017-03-14T19:15:40Z" + content=""" + git annex add recovered-content + +lost+found does not contain only annexed file, right? It may contain any kind of file not originally annexed. + +Examples: + +* a file that was imported in the regular git part of the git annex repository +* a corrupted variant of an annexed file +* a git pack, a git index or any git administrative file +* a file totally unrelated that happened to be on the same filesystem. + +In all these cases, this command will result in new additions to the annex. + +This is not what a recovery should do, is it? + +Shouldn't that become rather something like: + + git annex reinject --known + +"""]] |