Web lists-archives.com

Re: File monitor rewrite: Solaris (and other) help wanted


On Thu, Jan 15, 2015, at 10:49, Morten Welinder wrote:
> Great plan, but you cannot get that in a meaningful way.  Think
>     creat
>     write
>     mmap
>     close
>     # Further writes by way of the mapped region
> I don't think you can detect the end of that write.

Quoting inotify(7):

       The inotify API does not report file accesses and modifications
       that may
       occur because of  mmap(2),  msync(2), and munmap(2).

so this is a completely lost cause anyway.

gtk-devel-list mailing list