Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: Age of dir in UNIX

by sundialsvc4 (Abbot)
on Dec 04, 2013 at 17:26 UTC ( #1065619=note: print w/replies, xml ) Need Help??


in reply to Age of dir in UNIX

You should also be aware of this tidbit from man stat:
Not all of the Linux filesystems implement all of the time fields.
Some file system types allow mounting in such a way that file accesses do not cause an update of the st_atime field. (See 'noatime' in mount(8).)

Replies are listed 'Best First'.
Re^2: Age of dir in UNIX
by Anonymous Monk on Dec 04, 2013 at 20:42 UTC
    He's trying to access the mtime, not the atime. (mtime updates on every new/deleted/renamed file, AFAIK)

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1065619]
help
Chatterbox?
[choroba]: BTW, both the bands I play in performed on Friday (at the same event). Quite an exhausting experience.
[Corion]: choroba: Ooof! I can imagine that ;)
[Corion]: I think at a Perl workshop some years ago I gave two talks on the same day and after that decided to only submit one talk per event ;)

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (9)
As of 2017-03-27 11:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (319 votes). Check out past polls.