Package: inotify-tools
Version: 3.13-3.1
Severity: normal

Dear Maintainer,

Inotifywait cannot watch for FS unmounts.

On Squeeze, I was able to:
  (sleep 1; umount /mnt)&
  inotifywait -q -e unmount /mnt
to receive notice that the FS was unmounted and, by extension, that all
buffers were flushed; thus it would be safe to unplug the medium.

On Wheezy, that inotifywait command results in:
    Setting up watches.
    Couldn't watch /mnt: Invalid argument

The problem occurs on two different recent Wheezy ix86-64 installations; they
are basic systems with web server, ssh server, and vim, apcupsd, inotify-tools,
hdparm, acl, samba and ntp (and their dependencies) installed, and vim-tiny 
removed.

Other features of inotifywait seem to work as with Squeeze.

I'm presently using a less elegant work-around:
  while grep -q " /mnt " /proc/mounts; do sleep .1; done
but would prefer to use inotifywait.


-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages inotify-tools depends on:
ii  libc6             2.13-33
ii  libinotifytools0  3.13-3.1

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