Crash with ntea on USB memory sticks

2009-08-24 Thread R. Diez
Hi all: I've seen a simple "ls -la" command crashing on a couple of computers, and I've managed to track it down to the combination of USB memory sticks (formatted with FAT) and CYGWIN option ntea. This is a small demo script: #!/bin/bash set -xv # Trace on. # This is my CYGWIN, (defaul

-d "/cygdrive/r" return false under Cygwin if R: is a CD-ROM

2009-07-08 Thread R. Diez
Hi everybody: I have come across an interesting problem with Cygwin's perl and rsync. If I insert a data CD-ROM on drive R: , the following perl one-liner works fine: perl -e 'if (-d "/cygdrive/r") { print "yes\n" } else { print "no\n" }' That means, I get "yes" printed out. This one, howeve