Bug 522322 - Some option for mount is not work
Summary: Some option for mount is not work
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: util-linux-ng
Version: rawhide
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Karel Zak
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
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:
Environment:
Last Closed: 2009-09-10 10:35:59 UTC
Type: ---
Embargoed:


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 2.6.29.4-167.fc11.x86_64 #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
util-linux-ng-2.16-8.fc12.x86_64


How reproducible:
Always

Steps to Reproduce:
1.try to mount a fs in option atime.
2.
3.
  
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.