Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Re: What order do my files come from readdir() in?

by rob_au (Abbot)
on Jun 20, 2002 at 00:14 UTC ( #175873=note: print w/ replies, xml ) Need Help??


in reply to Re: What order do my files come from readdir() in?
in thread What order do my files come from readdir() in?

Its the directory order by which they are returned - While this order can change depending upon file systems, this directory order generally relates to the creation order of the file entries in the directory table. The exception to this is where a directory entry is deleted - In this scenario, the directory entry is recycled and any subsequent files stored will preferentially replace the previous directory entry, thus the storage order is no longer wholly 'by creation time'.

 


Comment on Re: Re: What order do my files come from readdir() in?

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (5)
As of 2015-07-05 08:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (61 votes), past polls