noatime difference

Questions about Grub, UEFI,the liveCD and the installer
Forum rules
Before you post please read how to get help
Post Reply
rjsrjs
Level 3
Level 3
Posts: 151
Joined: Sun Mar 17, 2019 6:47 pm
Location: Florida

noatime difference

Post by rjsrjs »

Hello Everyone:
Here is something I found that is interesting to me, maybe someone can explain out there in Linux Land.
I get the following information about my /dev/sda1 SSD laptop boot drive when I use the command "cat /proc/mounts" in the terminal. Thats what Mint put in when I installed Mint 19.1. System is working great with out an problems on my Lenovo T430 with 180GB SSD and 8 Gigs of memory

Code: Select all

/dev/sda1 / ext4 rw,relatime,errors=remount-ro,data=ordered 0 0
And I get the following in my fstab file.

Code: Select all

UUID=a693fde7-85d5-4704-8897-d24e6d447abb	/	ext4	errors=remount-ro	0	1
/swapfile	none	swap	sw	0	0
In the fstab file there is no mention of relatime and other things, but in cat /proc/mounts there is relatime. Is this correct? I thought both should be the same.

Just curious Thanks.

User avatar
WharfRat
Level 21
Level 21
Posts: 13898
Joined: Thu Apr 07, 2011 8:15 pm

Re: noatime difference

Post by WharfRat »

If you check the man page for mount
Since Linux 2.6.30, the kernel defaults to the behavior provided by this option (unless noatime was specified)
ImageImage

Post Reply

Return to “Installation & Boot”