Public bug reported: Compile this code:
#include<sys/inotify.h> #include<stdio.h> #include<string.h> #include<errno.h> int main(int argc, char **argv) { int inotifyid = inotify_init(); if(inotifyid == -1) { fprintf(stderr, "Could not init inotify.\n"); return 1; } int wd = inotify_add_watch(inotifyid, argv[1], IN_CREATE | IN_DELETE_SELF | IN_DELETE | IN_CLOSE_WRITE | IN_MOVED_FROM | IN_MOVED_TO | IN_ONLYDIR); if(wd == -1) { fprintf(stderr, "Could not create inotify watch object: %s\n", strerror(errno)); return 1; } return 0; } Run it like this: "./inotifyapp some/dir". On Saucy it prints this: Could not create inotify wath object: No space left on device The same happens on both btrfs and ext4 drives. The disk does have space and the same partition works when inotify is used from raring. This issue breaks e.g. Dropbox. ** Affects: linux (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1240857 Title: Inotify is broken in saucy To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1240857/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs