Mail Archives: cygwin/2007/08/16/17:54:26
Ronald Fischer <ronald.fischer <at> venyon.com> writes:
> ~/thome/tmp $ date
> Thu Aug 16 16:49:35 2007
> ~/thome/tmp $ ls -l dummy3
> -rw-r--r-- 1 rfischer mkgroup-l-d 2 Aug 16 16:42 dummy3
>
> As you can see, ls -l shows 16:42 for the creation time,
No idea why your ctime and mtime disagree - are you sure your system clock and
BIOS clock match? Have you recently used an NTP server to align your clock
with the rest of the world? However, I want one thing to be clear - ls does
not list creation time; it lists change time (ctime not stand for creation time
in POSIX, instead, the BSD notion birthtime, aka Btime, maps to the Windows
creation time - for full birthtime support in cygwin, you need to use a
snapshot, as cygwin 1.5.24 does not support querying birthtime).
Also, stat(1) may be nicer than ls(1) for figuring these timestamp issues out.
--
Eric Blake
volunteer cygwin coreutils maintainer
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
- Raw text -