Gentoo Archives: gentoo-user

From: Robert Cernansky <hslists2@××××××.sk>
To: gentoo-user <gentoo-user@l.g.o>
Subject: [gentoo-user] noatime option is ignored for /
Date: Sun, 13 May 2007 13:53:40
Message-Id: Mahogany-0.67.0-12470-20070513-154808.00@kihnet.sk
1 Hello,
2
3 I just found out that 'noatime' mount option is ignored on my system for
4 / (root) partition. In /etc/fstab I have entry for /:
5
6 /dev/sda6 / ext3 noatime,usrquota,grpquota
7
8 and 'mount' command shows:
9
10 /dev/sda6 on / type ext3 (rw,noatime,usrquota,grpquota)
11
12 but /proc/mounts does not show noatime option:
13
14 /dev/root / ext3 rw,data=ordered,usrquota,grpquota 0 0
15
16 When I do 'cat <some_file>', 'ls -lu' shows that its access time _is_
17 modified. However I can do 'mount -o remount /' and filesystem is then
18 remounted correctly (access time is not modified anymore), I want to
19 ask if this is normal behaviour and remounting / after boot is common
20 solution.
21
22 The root of problem is probably the fact, that /etc/fstab is not
23 available when / is about to mount. But I did not find it mentioned in
24 any ext3 tweaking guide or so. Everywhere is just "add noatime option
25 to fstab and you're fine". In Gentoo Handbook is also nothing about
26 it (and noatime option is used for /).
27
28 I think initrd could solve this problem but I do not want it.
29
30 Is noatime for / working for you?
31
32
33 Robert
34
35
36 --
37 Robert Cernansky
38 E-mail: hslists2@××××××.sk
39 Jabber: HS@××××××.sk
40
41 --
42 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] noatime option is ignored for / Florian Philipp <f.philipp@××××××.de>
Re: [gentoo-user] noatime option is ignored for / Benno Schulenberg <benno.schulenberg@×××××.com>