summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2012-06-13 15:03:26 -0400
committerGravatar Joey Hess <joey@kitenet.net>2012-06-13 15:03:26 -0400
commit24370fa3ac4fcb5c1d2a8e727fb4730f0d2d9789 (patch)
tree51722647a9512bd51e1b091ffca2bce403edcc35 /doc
parent7575c5bb561bd04d6106ac09d97ea813c9ee46f3 (diff)
lsof
Diffstat (limited to 'doc')
-rw-r--r--doc/design/assistant/inotify.mdwn2
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/design/assistant/inotify.mdwn b/doc/design/assistant/inotify.mdwn
index 60c598673..8f0aebcb1 100644
--- a/doc/design/assistant/inotify.mdwn
+++ b/doc/design/assistant/inotify.mdwn
@@ -18,6 +18,8 @@ There is a `watch` branch in git that adds the command.
Possible fixes:
* Somehow track or detect if a file is open for write by any processes.
+ `lsof` could be used, although it would be a little slow, and not
+ avoid every possible race.
* Or, when possible, making a copy on write copy before adding the file
would avoid this.
* Or, as a last resort, make an expensive copy of the file and add that.