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 From: "Dave Korn" To: Subject: RE: rm hangs on illegal filename nul Date: Thu, 27 May 2004 15:42:36 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit In-Reply-To: <40B5FBC4.4010000@scytek.de> Message-ID: X-OriginalArrivalTime: 27 May 2004 14:42:36.0343 (UTC) FILETIME=[DA1BEC70:01C443F8] > -----Original Message----- > From: cygwin-owner On Behalf Of Volker Quetschke > Sent: 27 May 2004 15:32 > 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. Nope, it's a way of saying "The workaround is not to create files with the names of special DOS devices in the first place"! [That's the difference between a workaround and a solution...] > 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 :-( How about cmd /c 'del nu?.*' Does that get it? cheers, DaveK -- Can't think of a witty .sigline today.... -- 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/