LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 04-03-2005, 10:05 AM   #1
takahaya
Member
 
Registered: Apr 2005
Location: Kansai
Distribution: Mandrake 10.1
Posts: 31

Rep: Reputation: 15
no file access timestamps being updated!


I've searched everywhere for a possible answer to my problem but haven't found anything.

If I open a file to read (ie. cat somefile.txt, or vi somefile.txt), then run "ls -u" from the prompt, the fact the file's been accessed isn't reflected in the return from the command.

I have no idea what the problem is. I've tried getting an updated 'reading' via the "ls -u" command on a variety of files but always the same. The access timestamp isn't being updated!!

In konqueror it's the same. I can access a file but the file details in konqueror don't show it.

If anyone might help me I'd be really grateful. I'm a bit of a beginner and suspect it may be something simple.

I run a mandrake 10.0 official box, bash version 2.05b.0(1)-release.
 
Old 04-03-2005, 03:28 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
A bit of an odd one - what file-system(s) are you
using ... I have no real idea of what may be happening.


Cheers,
Tink
 
Old 04-03-2005, 05:34 PM   #3
SciYro
Senior Member
 
Registered: Oct 2003
Location: hopefully not here
Distribution: Gentoo
Posts: 2,038

Rep: Reputation: 51
its common, look at /etc/fstab

the option "noatime" disables updating the access time, this can improve speed, so its not uncommon to see it.
 
Old 04-03-2005, 06:45 PM   #4
takahaya
Member
 
Registered: Apr 2005
Location: Kansai
Distribution: Mandrake 10.1
Posts: 31

Original Poster
Rep: Reputation: 15
Smile noatime in /etc/fstab

Thanks very much! I've changed the relevant entries in fstab to defaults and can now see access times. I'll just have to see whether the system is much slower for the change. Thanks again!
 
Old 04-03-2005, 06:48 PM   #5
SciYro
Senior Member
 
Registered: Oct 2003
Location: hopefully not here
Distribution: Gentoo
Posts: 2,038

Rep: Reputation: 51
its not that noticeable, if you ran a database or whatnot, where you are almost constantly accessing the hard drive, then you might see the hit, esp if a lot of tasks are using the drive at once. Not very noticeable a close to modern desktop computer.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
archives, file timestamps and touch digitalgravy Linux - General 6 02-08-2006 07:47 PM
updated samba, now don't have write access BrianK Fedora 1 10-04-2005 03:10 PM
VSFTPD and file timestamps t3___ Linux - Newbie 4 01-21-2004 02:26 PM
converting log file timestamps mrtwice Linux - Software 3 09-22-2003 09:45 AM
modify file access & modify timestamps i2itstud Linux - General 1 05-20-2003 03:34 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 11:33 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration