[BUG][Unix] ctime and mtime entries swapped in DirectoryEntry

David T. Lewis lewis at mail.msen.com
Thu Oct 23 10:11:27 UTC 2003


On Wed, Oct 22, 2003 at 07:05:53PM -0700, Ned Konz wrote:
> David T. Lewis wrote:
> 
> > Ned, is there a specific problem you are trying to solve? I think we may be
> > getting into an "is it a feature or is it a bug" discussion relative to
> > Squeak's interpretation of a unix file system, but setting that aside for
> > the moment, is there anything we can help you with?
> 
> I was looking at some old files that I have on a filesystem that's 
> mounted read-only. And the ordering of the files in the file list (and 
> the dates) did not agree with the result of "ls -lt", as they have done 
> for me in the past (I seem to remember). Instead I was seeing the ctime 
> values.
> 
> When I swapped the two numbers I saw dates that agreed with the ls -lt 
> listing.

Is this a vfat (Windows) file system? I tried mounting a vfat file system
(both read-only and read-write), and Squeak sees DirectoryEntries with
"modificationTime" before "creationTime".  Hmm, I'll need to re-read Randall's
explanations one more time. It might be a stretch to consider this a
"feature" though ;)

Dave





More information about the Squeak-dev mailing list