Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re^2: Reading from file- not change atime

by karelb (Novice)
on Dec 10, 2013 at 14:22 UTC ( [id://1066434]=note: print w/replies, xml ) Need Help??


in reply to Re: Reading from file- not change atime
in thread Reading from file- not change atime

Thanks for the suggestions . I will look into them and see which one works best for me.

I read application data files to collect metadata from the file and index them. From an application point of view the data has not been accessed hence the atime needs to be the same as before.

  • Comment on Re^2: Reading from file- not change atime

Replies are listed 'Best First'.
Re^3: Reading from file- not change atime
by Monk::Thomas (Friar) on Dec 11, 2013 at 08:43 UTC
    Hmmm. Are you ~sure~ the application uses the atime to recognize changes? It ~may~ use FAM (file alteration monitor) or dnotify/inotify to watch the filesystem. Resetting the atime would not help in this case since the notification is instantly sent by the kernel as soon as you modify the file.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1066434]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (4)
As of 2024-04-24 12:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found