diff options
author | Ryan Niebur <ryan@debian.org> | 2012-06-18 02:21:51 -0700 |
---|---|---|
committer | Ryan Niebur <ryan@debian.org> | 2012-06-18 02:23:28 -0700 |
commit | 77fab8a299fbaa74cbad73a878f35360df30bffd (patch) | |
tree | 14c70bfdc02a420d971f69ae038427150ff93d62 | |
parent | c7f2614ee8d0ec17f17d0a7aba75532e8d2cf3ff (diff) |
Add patch documenting inode behavior, thanks to Ondřej Kuzník (Closes: #594163)
-rw-r--r-- | debian/changelog | 4 | ||||
-rw-r--r-- | debian/patches/document-files-handled-by-their-inodes | 39 | ||||
-rw-r--r-- | debian/patches/series | 1 |
3 files changed, 43 insertions, 1 deletions
diff --git a/debian/changelog b/debian/changelog index c49bf0a..cd6743e 100644 --- a/debian/changelog +++ b/debian/changelog @@ -11,8 +11,10 @@ inotify-tools (3.13-4) UNRELEASED; urgency=low * Update Standards-Version to 3.9.3 * Add dependency from libinotifytools0-dev for symlinking to the file in libinotifytools0 + * Add patch documenting inode behavior, thanks to Ondřej Kuzník + (Closes: #594163) - -- Ryan Niebur <ryan@debian.org> Tue, 31 Jan 2012 10:01:46 -0800 + -- Ryan Niebur <ryan@debian.org> Mon, 18 Jun 2012 02:21:50 -0700 inotify-tools (3.13-3) unstable; urgency=low diff --git a/debian/patches/document-files-handled-by-their-inodes b/debian/patches/document-files-handled-by-their-inodes new file mode 100644 index 0000000..c041892 --- /dev/null +++ b/debian/patches/document-files-handled-by-their-inodes @@ -0,0 +1,39 @@ +Index: inotify-tools/man/inotifywait.1 +=================================================================== +--- inotify-tools.orig/man/inotifywait.1 2012-06-18 02:15:54.000000000 -0700 ++++ inotify-tools/man/inotifywait.1 2012-06-18 02:20:15.000000000 -0700 +@@ -320,6 +320,14 @@ + DELETE badfile + .fi + ++.SH CAVEATS ++ ++When using inotifywait, the filename that is outputted is not ++guaranteed to be up to date after a move because it is the inode that ++is being monitored. Additionaly, none of the observed operations are ++guaranteed to have been performed on the filename inotifywait was ++instructed to monitor in cases when the file is known by several names ++in the filesystem. + + .SH BUGS + There are race conditions in the recursive directory watching code +Index: inotify-tools/man/inotifywatch.1 +=================================================================== +--- inotify-tools.orig/man/inotifywatch.1 2012-06-18 02:15:54.000000000 -0700 ++++ inotify-tools/man/inotifywatch.1 2012-06-18 02:20:30.000000000 -0700 +@@ -254,6 +254,15 @@ + 2 2 0 /home/rohan/.beagle/Indexes/KMailIndex/SecondaryIndex/ + .fi + ++.SH CAVEATS ++ ++When using inotifywatch, the filename that is outputted is not ++guaranteed to be up to date after a move because it is the inode that ++is being monitored. Additionaly, none of the observed operations are ++guaranteed to have been performed on the filename inotifywatch was ++instructed to monitor in cases when the file is known by several names ++in the filesystem. ++ + .SH BUGS + There are race conditions in the recursive directory watching code + which can cause events to be missed if they occur in a directory immediately diff --git a/debian/patches/series b/debian/patches/series index 2005307..ddf6cd4 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -6,3 +6,4 @@ fix-segfault-csv.patch fix-ftbfs.patch fix-hyphens-in-manpages fix-spelling-of-writable.patch +document-files-handled-by-their-inodes |