Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <40B5FBC4.4010000@scytek.de> Date: Thu, 27 May 2004 10:31:32 -0400 From: Volker Quetschke Reply-To: cygwin AT cygwin DOT com User-Agent: Mozilla Thunderbird 0.6 (Windows/20040502) MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: rm hangs on illegal filename nul References: <20040527145923 DOT N80239 AT unsane DOT co DOT uk> In-Reply-To: <20040527145923.N80239@unsane.co.uk> X-Enigmail-Version: 0.84.0.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigDB3E1E926CEC333CF015D442" X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-1.2.2 (mrelay3.uni-hannover.de [130.75.2.41]); Thu, 27 May 2004 16:31:41 +0200 (MEST) X-Scanned-By: MIMEDefang 2.42 X-IsSubscribed: yes --------------enigDB3E1E926CEC333CF015D442 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Vince Hoffman wrote: >>>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. >> >> Known ('doze) problem. Also occurs with filenames like aux, com1, lpt >>etc. The workaround is WDDTT. >> > > umm is that another way of saying, try > cmd /c dir /x > find 8.3 format name of file and them rm that. Hmm, $ cmd /c dir /x Volume in drive C has no label. Volume Serial Number is 2C4B-5A99 Directory of C:\cygwin\home\quetschke 05/27/2004 09:52 AM . 05/27/2004 09:52 AM .. 05/27/2004 09:52 AM 4 nul doesn't help :-( > i have a bash script to recurse and remove directories with names of lpt, > nul,aux etc somewhere, as a client had left anonymous ftp on and some > warez group had created a directory structure about 20 deep with this kind > of name. Maybe that works for directory names, but this is a file named nul. Volker -- PGP/GPG key (ID: 0x9F8A785D) available from wwwkeys.de.pgp.net key-fingerprint 550D F17E B082 A3E9 F913 9E53 3D35 C9BA 9F8A 785D --------------enigDB3E1E926CEC333CF015D442 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (MingW32) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFAtfvHPTXJup+KeF0RAqZAAJwPnbM3C3tGpMcrYqD+vXZbVgUmVgCg2bpK rO80OgQc3eF1zo+xp8Ye5xU= =M2U9 -----END PGP SIGNATURE----- --------------enigDB3E1E926CEC333CF015D442--