[systemd-devel] [PATCH 2/2] path: do not watch IN_ATTRIB for parent directories

Kay Sievers kay.sievers at vrfy.org
Wed Dec 1 06:53:54 PST 2010


On Wed, Dec 1, 2010 at 15:39, Michal Schmidt <mschmidt at redhat.com> wrote:

>  inotify_add_watch(17, "/dev/.systemd/ask-password", IN_ATTRIB|IN_MOVED_TO|IN_CREATE|IN_DELETE_SELF|IN_MOVE_SELF) = 1
>  inotify_add_watch(17, "/dev/.systemd", IN_ATTRIB|IN_DELETE_SELF|IN_MOVE_SELF) = 2
>  inotify_add_watch(17, "/dev", IN_ATTRIB|IN_DELETE_SELF|IN_MOVE_SELF) = 3
>  inotify_add_watch(17, "/", IN_ATTRIB|IN_DELETE_SELF|IN_MOVE_SELF) = 4

Any idea why the heck we want to watch all parent dirs?

Kay


More information about the systemd-devel mailing list