This is the mail archive of the cygwin@sources.redhat.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: Why does ls report some directory dates as future?


>
> I have downloaded cygwin-inst-20001019.tar.bz2, and installed it.
> The results of "ls" and "cygcheck" are given below.
> Hoping this will make it clear that the dates are not being rendered
> correctly (at least by "ls").
>
> Thanks for the suggestions, comments and reports of similar behaviour.
>

The only comment is that all directories with wrong time are mount points, and
they point to the FAT drives (root directory of FAT drives to be precise). I
cannot reproduce it with the same snapshot under Win2k with NTFS. If I mount
d: on /dosd I get correct time. That agrees with your output where NTFS drives
do not have this problem.

So, it smells like Cygwin bug.

-andrej

> $ ls -l
...
> drwxr-xr-x  19 don      None            0 Apr 22  2009 dosc	<<<
> drwxr-xr-x   6 don      None            0 Apr 22  2009 dosd	<<<
> drwxr-xr-x  28 don      None            0 Apr 22  2009 dosf	<<<
> drwxr-xr-x   6 don      None            0 Apr 22  2009 dosh	<<<
> drwxr-xr-x   6 don      None            0 Apr 22  2009 dosi	<<<
> drwxr-xr-x   6 don      None            0 Apr 22  2009 dosn	<<<
...
>
> a:  fd           N/A    N/A
> c:  hd  FAT      511Mb  48% CP    UN           SYSTEMFILES
> d:  hd  FAT      255Mb  57% CP    UN           USERFILES
> e:  hd  FAT      143Mb  96% CP    UN           WINDOWSWAPS
> f:  hd  FAT      511Mb  64% CP    UN           WINAPPLICS
> g:  hd  FAT      127Mb  96% CP    UN           CYGWINPOSIX
> h:  hd  FAT      127Mb  43% CP    UN           OPENWORK
> i:  hd  FAT      511Mb  93% CP    UN
> j:  hd  NTFS     511Mb  85% CP CS UN PA FC     NTApplics
> k:  hd  NTFS     255Mb  39% CP CS UN PA FC
> l:  hd           N/A    N/A
> m:  cd           N/A    N/A
> n:  hd  FAT      509Mb  32% CP    UN           TEMP_FILES
> o:  cd           N/A    N/A
> p:  cd           N/A    N/A
> q:  hd  FAT      501Mb  39% CP    UN           LUXURYLINER
> r:  hd  FAT      463Mb  92% CP    UN           LINUXUMSDOS
> s:  hd  FAT      509Mb  22% CP    UN           JAVASTUFF
>
> \\.\tape0  /dev/nrmt0  system  binmode
> \\.\tape0  /dev/rmt0  system  binmode
> g:\bin  /usr/bin  system  binmode
> g:\lib  /usr/lib  system  binmode
> c:    /dosc    system  binmode
> d:    /dosd    system  binmode
> f:    /dosf    system  binmode
> g:    /        system  binmode
> h:    /dosh    system  binmode
> i:    /dosi    system  binmode
> j:    /dosj    system  binmode
> n:    /dosn    system  binmode
>


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]