I'm writing to report the behaviour of unxutils' ls.exe under 64-bit
Windows NT 6.1. Calling ls upon a directory subject to file virtualisation
causes it to display incorrect files.
A sample is as follows. For processes subject to file virtualisation, the
directory \System32\ is redirected to \SysWOW64\.
C:\Windows\System32\drivers>dir /w
1394bus.sys 1394ohci.sys acpi.sys acpipmi.sys
adp94xx.sys adpahci.sys adpu320.sys afd.sys
(snip)
C:\Windows\System32\drivers>ls
UMDF en-US gm.dls gmreadme.txt wimmount.sys
C:\Windows\System32\drivers>dir /w ..\..\syswow64\drivers
[.] [..] [en-US] gm.dls gmreadme.txt
[UMDF] wimmount.sys
3 File(s) 3,460,314 bytes
I don't know whether you would consider this a bug or not. The ls from
MSYS exhibits the same behaviour, but this behaviour differs substantially
from dir on windows.