Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Date: Thu, 27 May 2004 15:05:32 +0100 (BST)
From: Vince Hoffman <jhary@unsane.co.uk>
To: Dave Korn <dk@artimi.com>
cc: cygwin@cygwin.com
Subject: RE: rm hangs on illegal filename nul
In-Reply-To: <NUTMEGbH6FTpaNrsiVf00000094@NUTMEG.CAM.ARTIMI.COM>
Message-ID: <20040527145923.N80239@unsane.co.uk>
References: <NUTMEGbH6FTpaNrsiVf00000094@NUTMEG.CAM.ARTIMI.COM>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII



On Thu, 27 May 2004, Dave Korn wrote:

> > -----Original Message-----
> > From: cygwin-owner  On Behalf Of Volker Quetschke
> > Sent: 27 May 2004 14:25
> > To: cygwin@cygwin.com
> > Subject: rm hangs on illegal filename nul
> >
> > 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.
>
>   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.

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.

Vince

>
>     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/
>

--
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/

