This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: lstat on FAT - Was: Problem with find on FAT drives
On Mar 23 17:11, Volker Quetschke wrote:
> $ ls -ldin tmp tmp/.
> 2919335057 drwxr-xr-x 4 1006 513 0 Mar 10 13:06 tmp/
> 2919335057 drwxr-xr-x 4 1006 513 0 Mar 10 13:06 tmp/./
>
> Looks pretty similar to me, but I was looking for the following:
>
> $ ls -ldin .\\tmp ./tmp
> 2919335057 drwxr-xr-x 4 1006 513 0 Mar 10 13:06 ./tmp/
> 2805415844195 drwxr-xr-x 4 1006 513 0 Mar 10 13:06 .\tmp/
>
> I came to that "program" by reducing the find soure to the bare
> minimum to show that problem.
>
> So again, is this an expected/tolerated behaviour?
Yes, it's by design. The answer is "don't use DOS paths".
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Developer mailto:cygwin@cygwin.com
Red Hat, Inc.
--
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/