Quantcast
Channel: Active questions tagged mount+fstab - Ask Ubuntu
Viewing all articles
Browse latest Browse all 699

How can I check if adding noatime to /etc/fstab was effective?

$
0
0

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 1UUID=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?


Viewing all articles
Browse latest Browse all 699

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>