Giter Site home page Giter Site logo

Comments (1)

hannobraun avatar hannobraun commented on August 16, 2024

I've reviewed the concerns listed in the quote from the issue description

event queue overflows

There's an idea on how to make those more explicit in #76.

IN_IGNORED

I'm not sure what exactly the original poster meant by that, but I believe it could be made more explicit. Right now it's just another type of event.

I've added a note to that effect to #76.

hard links sharing the same inode (and the same inotify watch descriptors!)

I don't think we can do anything about that within the scope of this library. In any case, the issue is clearly documented in the API reference (Inotify::add_watch).

In addition, I've reviewed the inotify man page and found the following:

If successive output inotify events produced on the inotify file descriptor are identical (same wd, mask, cookie, and name), then they are coalesced into a single event if the older event has not yet been read (but see BUGS). This reduces the amount of kernel memory required for the event queue, but also means that an application can't use inotify to reliably count file events.

This behavior should be documented. I've opened #94.

Since everything mentioned in this issue either has been handled or is being tracked in other issues, I'm closing this one.

from inotify-rs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.