Re: File cache effecting access time...
- From: "Mikko Noromaa" <excelsql@xxxxxxxxxxxxxxxx>
- Date: Wed, 11 Jan 2006 22:33:18 +0200
Hi,
> The reason I ask is I want to test my hypothesis that
> the 'last accessed' timestamp is not refreshed when a file is cached...
Note that on NTFS, the last accessed time resolution is 1 hour. Maybe this
is why you think it hasn't been refreshed?
Complete quote from MSDN:
"Note Not all file systems can record creation and last access time and not
all file systems record them in the same manner. For example, on Windows NT
FAT, create time has a resolution of 10 milliseconds, write time has a
resolution of 2 seconds, and access time has a resolution of 1 day (really,
the access date). On NTFS, access time has a resolution of 1 hour.
Therefore, the GetFileTime function may not return the same file time
information set using the SetFileTime function. Furthermore, FAT records
times on disk in local time. However, NTFS records times on disk in UTC, so
it is not affected by changes in time zone or daylight saving time."
--
Mikko Noromaa (mikkon@xxxxxxxxxxxx)
- SQL in Excel, check out ExcelSQL! - see http://www.excelsql.com -
"djohnson" <programmer123@xxxxxxx> wrote in message
news:1136907802.377427.186310@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> Hi, I doubt anyone can help me, but I understand Windows uses System
> RAM to cache commonly used files, and was wondering how to remove a
> specific file. The reason I ask is I want to test my hypothesis that
> the 'last accessed' timestamp is not refreshed when a file is cached...
> I'd really like the 'last accessed' time to be accurate, accuracy is
> good right especially in the computer world.
>
> On a related note I also wonder if anyone thinks if a lot of caching
> will become obsolete when RAM drives begin replacing HDs.
>
> Dave
>
.
- Follow-Ups:
- Re: File cache effecting access time...
- From: djohnson
- Re: File cache effecting access time...
- From: qfel
- Re: File cache effecting access time...
- References:
- File cache effecting access time...
- From: djohnson
- File cache effecting access time...
- Prev by Date: Re: How to delete a file with a space as the last char?
- Next by Date: Re: File cache effecting access time...
- Previous by thread: Re: File cache effecting access time...
- Next by thread: Re: File cache effecting access time...
- Index(es):
Relevant Pages
|