Bugzilla (bugzilla.redhat.com) will be under maintenance for infrastructure upgrades and will not be available on July 31st between 12:30 AM - 05:30 AM UTC. We appreciate your understanding and patience. You can follow status.redhat.com for details.
Bug 522322 - Some option for mount is not work
Summary: Some option for mount is not work
Alias: None
Product: Fedora
Classification: Fedora
Component: util-linux-ng
Version: rawhide
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Karel Zak
QA Contact: Fedora Extras Quality Assurance
Depends On:
TreeView+ depends on / blocked
Reported: 2009-09-10 05:13 UTC by Yang Ren
Modified: 2009-09-10 12:56 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2009-09-10 10:35:59 UTC
Type: ---

Attachments (Terms of Use)

Description Yang Ren 2009-09-10 05:13:17 UTC
Description of problem:
I want to mount a filesystem using option 'atime'.
I have change the fstab file change the default to atime then reboot machine. It doesnt work.
And I try to remount it using.
#mount /somefolder -o remount,atime
it also doesnt work

At the same time the option both 'ro' ant 'rw' works well.

Version-Release number of selected component (if applicable):
My kernel version:
[root@localhost ~]# uname -a
Linux localhost.localdomain #1 SMP Wed May 27 17:27:08 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux

[root@localhost ~]# rpm -q util-linux-ng

How reproducible:

Steps to Reproduce:
1.try to mount a fs in option atime.
Actual results:
The option still the defaule relatime

Expected results:
option change to atime

Additional info:

Comment 2 Karel Zak 2009-09-10 10:35:59 UTC
You have to use "strictatime" mount option to override kernel relatime or noatime default.

(I did a change in the upstream mount.8 man page -- now it should be more obvious that 'strictatime' is necessary. So thanks for your report ;-)

Comment 3 Yang Ren 2009-09-10 12:56:34 UTC
Thank you.

Note You need to log in before you can comment on or make changes to this bug.