Quote:
Originally Posted by pljvaldez
|
I don't think that generic answer is very effective for this Linux question.
That Wikipedia page looked like it was influenced by the meanings of buffer vs. cache that are specific to Linux. But it certainly wasn't focused on those meanings.
My understanding/recall of what I've read on this question (but don't remember where) is:
Cache holds only aligned page size chunks of files. Buffers are used in various situations in which aligned page size chunks of files are not practical. I think the buffers are tied to chunks of the media (the partition for a typical filesystem) rather than chunks of a specific file.
But don't trust me on the above, because I'm not sure I trust the pages I read that gave me that info and I'm not sure I understood/recall them accurately. So I'm just posting this while we wait for someone who actually knows to post something more accurate.