Hello Reader,
         Got some medicine today so hopefully I’ll be able to stop coughing tomorrow. In the meantime I’d like to point you to some very interesting work Maxim Suhanov is doing. You can read the tweet thread here:


Maxim found that Windows is keeping two last access dates, one on the disk and one in memory for a single file if Last Access dates are enabled. In the below python script you can see he can actually see the contents of both version of the timestamp:

#!/usr/bin/env python3

import os
from time import sleep

FILE_PATH = 'ts.txt'

def get_atime_1():
result = os.stat(FILE_PATH, follow_symlinks = False)
return result.st_atime

def get_atime_2():
for entry in os.scandir('.'):
if entry.name.lower() == FILE_PATH.lower():
return entry.stat().st_atime

#print('Starting up...')
print(get_atime_1(), get_atime_2())


That to me is fascinating, it looks like one entry is coming from the stat of the file itself while the other is coming from the directory index. This is going to become more testing material in the near future.