<<< Date Index >>>     <<< Thread Index >>>

Why not set atime explicitly for 'noatime'-mounts?



Hi


The partition where my MBox-files lie is the only one i have to mount without 
'noatime'.

As i don't know when relatime comes for the rest of the filesystems (ocfs2 
wouldn't be my choice for a filesystem, only to satisfy mutt a bit better) i 
thought about:
'Why doesn't mutt set the atime explicitly?'

So i did a short test:

stat <mbox-file>
<getting new mail, which is stored by procmail>
stat <mbox-file>
touch -a -t <whatever> <mbox-file>
stat <mbox-file>

clearly shows that procmail only updates the mtime, and "touch -a" only updates 
the atime.



So i guess i must be missing something big time, as this can't be that easy.
So where am i wrong?



P.S.
Don't kill me for using Thunderbird/Icedove, i use mutt only for reading mail.

-- 
Real Programmers consider "what you see is what you get" to be just as
bad a concept in Text Editors as it is in women. No, the Real Programmer
wants a "you asked for it, you got it" text editor -- complicated,
cryptic, powerful, unforgiving, dangerous.