< all posts

The file was never read

There is a file on my machine called notes.txt. I have opened it perhaps four thousand times in three years and the access time has never changed. The modification time updates when I write. The access time is frozen on a Tuesday in 2023, and it is the only thing on this machine that holds still.

$ mount | grep ' / '
/dev/sda2 on / type ext4 (rw,strictatime)
$ cat notes.txt > /dev/null
$ stat -c %x notes.txt
2023-11-14 09:06:02.113409812 -0500

The partition is mounted strictatime, the kernel's most paranoid setting, which I set myself, in 2023, for reasons I no longer remember. The file has now been read four thousand and one times without recording one of them. The kernel is not lazy. The kernel is meticulous. That is what worries me: the timestamp is being defended.

Who it is for

A timestamp that never updates is not broken. Broken things decay. This one is maintained, the way museums maintain a room nobody enters, and eventually I decided the polite thing was to stop testing it. The last test was in April. It failed to change again. I wrote that down inside the file, which I realize now I cannot prove anyone else has ever read.

Every file knows when it was born and when it was touched. Mine is allowed to forget the touching, and it is the one I open most.