[NTLUG:Discuss] True order of files in a directory.

Steve Baker sjbaker1 at airmail.net
Mon Aug 29 21:55:36 CDT 2005


Tom McDonald wrote:

> If the order is based on the creation time, couldn't you just modify the
> ctime to change the order? 

No - it's literally the order the files were created.  The first file to
come along grabs the first directory 'slot', the second one grabs the second.
Subsequently changing the creation time doesn't affect which file got which
slot.

---------------------------- Steve Baker -------------------------
HomeEmail: <sjbaker1 at airmail.net>    WorkEmail: <sjbaker at link.com>
HomePage : http://www.sjbaker.org
Projects : http://plib.sf.net    http://tuxaqfh.sf.net
            http://tuxkart.sf.net http://prettypoly.sf.net
-----BEGIN GEEK CODE BLOCK-----
GCS d-- s:+ a+ C++++$ UL+++$ P--- L++++$ E--- W+++ N o+ K? w--- !O M-
V-- PS++ PE- Y-- PGP-- t+ 5 X R+++ tv b++ DI++ D G+ e++ h--(-) r+++ y++++
-----END GEEK CODE BLOCK-----




More information about the Discuss mailing list