[Bug 8726] New: inotifyd has "m" and "y" events backwards

bugzilla at busybox.net bugzilla at busybox.net
Fri Feb 26 14:26:57 UTC 2016


https://bugs.busybox.net/show_bug.cgi?id=8726

            Bug ID: 8726
           Summary: inotifyd has "m" and "y" events backwards
           Product: Busybox
           Version: 1.24.x
          Hardware: All
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Other
          Assignee: unassigned at busybox.net
          Reporter: lars at oddbit.com
                CC: busybox-cvs at busybox.net
  Target Milestone: ---

The help for inotifyd says:

  If watching a directory:
    m   Subfile is moved into dir
    y   Subfile is moved out of dir
    n   Subfile is created
    d   Subfile is deleted

But:

  # inotifyd - /tmp:mynd &
  # pwd
  /root
  # date > foo
  # mv foo /tmp
  y     /tmp    foo
  # mv /tmp/foo .
  m     /tmp    foo

That is, inotify is in fact delivery a 'y' notification when moving a
file *into* the directory, and a 'm' notification when moving the file
out.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the busybox-cvs mailing list