rm hangs on illegal filename nul

Volker Quetschke quetschke@scytek.de
Thu May 27 13:42:00 GMT 2004


Hi,

I somehow managed to create a file named nul (further investigation
pending), and now rm -rf hangs when trying to remove the directory with
this file.

I just upgraded to cygwin 1.5.10-3, I will try with 1.5.9 later.

[q@lisi]/cygdrive/e/w1/OOo/expat/wntgcci.pro/misc/build/expat:{505}:
$ ll xmlparse/
total 0
-rw-rw-r--    1 q        none            0 May 26 23:58 nul

[q@lisi]/cygdrive/e/w1/OOo/expat/wntgcci.pro/misc/build/expat:{506}:
$ rm -rf xmlparse
(hangs)

But:
$ rm -rf xmlparse/nul

Removes the file. Explorer on W2K was *not* able to create that file.

$ uname -a
CYGWIN_NT-5.0 lisi 1.5.10(0.116/4/2) 2004-05-25 22:07 i686 unknown 
unknown Cygwin

(W2kSP4)

I have a second nul file in a different dir, does anyone need an strace?

Volker

-- 
PGP/GPG key  (ID: 0x9F8A785D)  available  from  wwwkeys.de.pgp.net
key-fingerprint 550D F17E B082 A3E9 F913  9E53 3D35 C9BA 9F8A 785D
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 254 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20040527/31b4b7c2/attachment.sig>


More information about the Cygwin mailing list