This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: rm hangs on illegal filename nul



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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]