[TAG] Question about file mtime on linux
John Karns
jkarns at etb.net.co
Thu Apr 14 04:05:32 MSD 2005
On Wed, 13 Apr 2005, mso at oz.net wrote:
> 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.
Ok, that's how I had imagined that it [sw]ould work. [Mental note: It may
make a worth while endeaver for me one of these days to read up on it a
bit.] I suspect that there could exist a lower level means of file access
that sports an option to bypass that if desired, at least for read access.
--
John Karns
More information about the TAG
mailing list