Sujet : Re: Stealing a Great Idea from the 6600
De : cr88192 (at) *nospam* gmail.com (BGB)
Groupes : comp.archDate : 31. Jul 2024, 01:52:14
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <v8c1s0$18u9o$1@dont-email.me>
References : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
User-Agent : Mozilla Thunderbird
On 7/30/2024 6:51 PM, Lawrence D'Oliveiro wrote:
On Mon, 29 Jul 2024 22:40:39 -0500, BGB wrote:
If a file has not been modified, and was already confirmed good, you
don't really need to verify it again...
How do you tell whether it’s been modified or not, without actually
examining its entire contents?
If one is already intercepting every filesystem call, it is possible to keep track of whether a given file was opened for writing, deleted, written to, ...
If a file has not been opened for writing or written to or similar, since the last time it was looked at, it is possible to safely infer that its contents are still the same (assuming a conventional filesystem, like FAT or NTFS or similar).
Alternatively, one could check modification times (like what "make" or similar does), but this is less provable (if there exists any way to modify a file without updating its modification time).