[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


            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


  # inotifyd - /tmp:mynd &
  # pwd
  # 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

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

More information about the busybox-cvs mailing list