[TAG] Question about file mtime on linux

mso@oz.net mso
Thu Apr 14 03:15:37 MSD 2005


John Karns wrote:
> In fact I've sometimes wondered about this myself: if there is a pending
> write to a file via a dirty buffer, is that automatically taken into
> account if I read the file before the buffer is flushed?  I.e., is the
> pending change transparently mapped to a read of the file by libc or
> whatever?

It would be a very severe bug if it didn't read from the buffer, since
that's the official version currently.  I've sometimes wondered this
myself, but I've found the kernel developers pretty trustworthy so I
assumed they wouldn't do such a thing.







More information about the TAG mailing list