delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/05/27/10:06:51

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Thu, 27 May 2004 15:05:32 +0100 (BST)
From: Vince Hoffman <jhary AT unsane DOT co DOT uk>
To: Dave Korn <dk AT artimi DOT com>
cc: cygwin AT cygwin DOT 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 AT NUTMEG DOT CAM DOT ARTIMI DOT COM>
MIME-Version: 1.0


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 AT cygwin DOT 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019