On Wed, Nov 12, 2008 at 15:24, Gabor Z. Papp <gzp@xxxxxxx> wrote: > * "Kay Sievers" <kay.sievers@xxxxxxxx>: > > | If you do: > | killall udevd > | strace /sbin/udevd > | /sbin/udevd --daemon > > | What does the strace print while udevd is the inotify calls? It looks > | like this here: > | ... > | inotify_init() = 3 > | inotify_add_watch(3, "/lib/udev/rules.d", ...) = 1 > | inotify_add_watch(3, "/etc/udev/rules.d", ...) = 2 > | inotify_add_watch(3, "/dev/.udev/rules.d", ...) = 3 > | ... > > [...] > unlink("/dev/.udev/uevent_seqnum") = -1 ENOENT (No such file or directory) > open("/dev/.udev/queue", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = -1 ENOENT (No such file or directory) > open("/sys/kernel/uevent_seqnum", O_RDONLY|O_LARGEFILE) = 8 > read(8, "1791\n", 31) = 5 > close(8) = 0 > stat64("/dev/.udev", {st_mode=S_IFDIR|0755, st_size=100, ...}) = 0 > open("/dev/.udev/uevent_seqnum", O_WRONLY|O_CREAT|O_TRUNC|O_LARGEFILE, 0644) = 8 > write(8, "1791\n", 5) = 5 > close(8) = 0 > fork() = 2025 > close(6) = 0 > close(7) = 0 > close(4) = 0 > close(5) = 0 > unlink("/dev/.udev/uevent_seqnum") = 0 > open("/dev/.udev/queue", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = -1 ENOENT (No such file or directory) > [2025] main: inotify_init failed: No such file or directory > exit_group(0) = ? Ah, seems inotify headers from glibc have been not available during compilation of udev, and inotify got disabled. You can safely ignore the misleading error message, I fixed the message for the next version. Thanks, Kay -- To unsubscribe from this list: send the line "unsubscribe linux-hotplug" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html