Does VFS cache individual files? Is the linker involved?

From: Magnus Sundberg (Magnus.Sundberg@dican.se)
Date: Mon Oct 29 2001 - 07:03:31 EST


Dear sirs,

QUESTION:
Does VFS cache the content of a file?

Does VFS consult memory instead of disk, when accessing a file that is
already linked to a process that is running?

RELATED INFORMATION:
Operating system RedHat 7.1, kernel 2.4.3-12 (from RedHat RPM)
My webserver runs tripwire for integrity test of critical files.

One night, when the PHP runtime of apache had crashed, tripwire reported
checksum error of
/usr/lib/apache/libphp4.so
The next night, when apache was restarted, there where no checksum
errors of the file.

I have seen checksum errors of /lib/libc-2.2.2.so, rpm also reported md5
checksum error when I
used rpm to verify the installation of glibc.

Thank you for your time reading this

regards,

Magnus Sundberg

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed Oct 31 2001 - 21:00:36 EST