From d3cee987caf20b309334b37bd1b89e8b9115cf0a Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Tue, 5 Jun 2012 19:51:03 -0400 Subject: separate source of content from the filename associated with the key when generating a key This already made migrate's code a lot simpler. --- doc/design/assistant/inotify.mdwn | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'doc') diff --git a/doc/design/assistant/inotify.mdwn b/doc/design/assistant/inotify.mdwn index 3263c476d..ca63a1c82 100644 --- a/doc/design/assistant/inotify.mdwn +++ b/doc/design/assistant/inotify.mdwn @@ -61,7 +61,9 @@ Many races need to be dealt with by this code. Here are some of them. **Currently unfixed**; The new content will be moved to the annex under the old checksum, and fsck will later catch this inconsistency. - Possible fix: Move content someplace before doing checksumming. + Possible fix: Move content someplace before doing checksumming. Perhaps + using a hard link and removing the write bit to prevent modification + while checksumming. * File is added and then replaced with another file before the annex add makes its symlink. -- cgit v1.2.3