Why is relatime immune to remount?

Roberto Ragusa mail at robertoragusa.it
Mon Jul 7 09:12:18 UTC 2008


Hi,

my root filesystem is mounted with the option relatime for
some reason (I just have defaults in /etc/fstab).

Any attempt to temporarily disable the option fails,
even with norelatime, which appears to be a valid option.
Is this expected or a bug?

(fedora 9 with 2.6.25.3-18)

[root at thinkpad ~]# cat /proc/mounts |grep /dev/root
/dev/root / reiserfs rw,relatime 0 0
[root at thinkpad ~]# mount / -o remount,norelatime
[root at thinkpad ~]# cat /proc/mounts |grep /dev/root
/dev/root / reiserfs rw,relatime 0 0
[root at thinkpad ~]# mount / -o remount,atime
[root at thinkpad ~]# cat /proc/mounts |grep /dev/root
/dev/root / reiserfs rw,relatime 0 0
[root at thinkpad ~]# mount / -o remount,noatime
[root at thinkpad ~]# cat /proc/mounts |grep /dev/root
/dev/root / reiserfs rw,noatime,relatime 0 0
[root at thinkpad ~]# mount / -o remount,atime
[root at thinkpad ~]# cat /proc/mounts |grep /dev/root
/dev/root / reiserfs rw,relatime 0 0
[root at thinkpad ~]# mount / -o remount,nonononononorelatime
mount: / not mounted already, or bad option

-- 
    Roberto Ragusa    mail at robertoragusa.it




More information about the fedora-devel-list mailing list