Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

What is the first Linux kernel release to set relatime as the default mount option?

share|improve this question

migrated from serverfault.com Aug 1 '11 at 21:22

This question came from our site for professional system and network administrators.

2  
The spelling of that option is very unfortunate: I will forever parse it as a misprint of "realtime". –  dmckee Aug 1 '11 at 22:47

1 Answer 1

I remember the change, but couldn't remember the date. It seems that it was back in 2007. According to the article, relatime was available in 2.6.20, and it became the default option a few versions after that (2.6.24) maybe.

Edit: man mount /relatime says 2.6.30.

From ChangeLog-2.6.30:

commit 0a1c01c9477602ee8b44548a9405b2c1d587b5a2
Author: Matthew Garrett <mjg@redhat.com>
Date:   Thu Mar 26 17:53:14 2009 +0000

Make relatime default

Change the default behaviour of the kernel to use relatime for all
filesystems. This can be overridden with the "strictatime" mount
option.

Signed-off-by: Matthew Garrett <mjg@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
share|improve this answer
    
Hmm, my CentOS 5 servers using 2.6.21 don't appear to have relatime. Strange. –  Xiong Chiamiov Nov 28 '12 at 22:41

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.