Package: inotify-tools
Version: 3.13-3
Severity: wishlist

I recently spent quite a lot of time debugging issue like this:
1. Set inotifywait -m to monitor a file
2. Move the file or make a hardlink to it
3. Subsequent notifications about the file still show the original
filename which is confusing.

I understand that the tool has no easy way of finding out what filename
it should report in case of a file that is hardlinked elsewhere, and
that even reporting the old name that no longer exists could make a bit
of sense in certain situations.

The solution I propose is adding a sentence or two in the Bugs/Caveats
section of the manpage. It should state that it is the inode being
monitored so the filename that is output is not guaranteed to be up to
date after a move. Additionaly, that 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.


-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (700, 'testing'), (650, 'stable'), (600, 'unstable')
Architecture: i386 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages inotify-tools depends on:
ii  libc6                         2.11.2-2   Embedded GNU C Library: Shared lib
ii  libinotifytools0              3.13-3     utility wrapper around inotify

inotify-tools recommends no packages.

inotify-tools suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to