To prevent my SSD from unnecessary write accesses, I entered noatime
under the mount options in /etc/fstab
for the system and home partitions:
UUID=bla-bla-bla-1 / ext4 errors=remount-ro,noatime 0 1
UUID=bla-bla-bla-2 /home ext4 defaults,noatime 0 2
After that I rebooted.
Now I am surprised that the command
find . * -atime -0,01 -type f -printf "%TY-%Tm-%TdT%TT %p\n" | sort -r | ssed -R 's/^([^.]+)\.\d+ (.*)$/\1 \2/'
which I use occasionally to check which files have been accessed within the last approx. 1/4 hour, still works. On the one hand this is pleasing, but on the other hand I fear that noatime
has not taken effect after all.
How can I check this?
Type
and will list all mountpoints with
noatime
in use. These 2 showrelatime
and you should seenoatime
next to your mountpoint.