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

Re: 'mailboxes' command misbehaving?



* Steve Revilak (steve@xxxxxxxxxxxx) wrote:
>     $ wc -l foo.txt
>     2 foo.txt
>     $ ls -l foo.txt
>     4 -rw-r--r--  1 srevilak users 58 Jun 13 20:20 foo.txt
>     $ ls -lu foo.txt
>     4 -rw-r--r--  1 srevilak users 58 Jun 13 20:23 foo.txt

Many thanks for your investigative work, Steve, I think I know exactly what the
problem is know!

I'm doing this inside a VM and have just confirmed that my provider is mounting 
the /
partition using "noatime", that might be why! When I do the above on my machine 
I get:

$ date >> foo.txt
$ ls -l foo.txt
-rw-rw-r-- 1 kjaleel kjaleel 58 Jun 14 07:30 foo.txt
$ ls -lu foo.txt 
-rw-rw-r-- 1 kjaleel kjaleel 58 Jan  1 00:00 foo.txt

$ wc -l foo.txt
2 foo.txt
$ ls -l foo.txt
-rw-rw-r-- 1 kjaleel kjaleel 58 Jun 14 07:30 foo.txt
$ ls -lu foo.txt 
-rw-rw-r-- 1 kjaleel kjaleel 58 Jan  1 00:00 foo.txt

So, the atime is never changed. This might explain it. Perhaps I should speak 
to my hosting
provider and request they remove the option or I can probably 'remount' it 
myself without
the "noatime" option.