Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#119 inotify detects files twice

open
nobody
None
5
2012-02-08
2012-02-08
Anonymous
No

I own an wl500gP (small CPU, not much RAM).
During long file-operations (ex. unrar...) inotify may creates two references to one file.

I noticed this, because my renders are showing the object twice. I also checked my files.db.

To prevent this we can set a higher notify_interval, yes. But I think that behavior should be changed.
Maybe by skipping the file in some way...

Discussion


  • Anonymous
    2012-07-12

    Can confirm this: DNS-323, Alt-F RC2 with minidlna 1.0.24. With ext4 on my raid minidlna produces real doublettes when rescanning under heavy load. When copying files to the device, minidlna starts immediately rescanning and runs into this problem.