This is the mail archive of the
cygwin
mailing list for the Cygwin project.
RE: rm hangs on illegal filename nul
- From: Vince Hoffman <jhary at unsane dot co dot uk>
- To: Dave Korn <dk at artimi dot com>
- Cc: cygwin at cygwin dot com
- Date: Thu, 27 May 2004 15:05:32 +0100 (BST)
- Subject: RE: rm hangs on illegal filename nul
- References: <NUTMEGbH6FTpaNrsiVf00000094@NUTMEG.CAM.ARTIMI.COM>
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/