| delorie.com/archives/browse.cgi | search |
| 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 |
| From: | "Dave Korn" <dk AT artimi DOT com> |
| To: | <cygwin AT cygwin DOT com> |
| Subject: | RE: rm hangs on illegal filename nul |
| Date: | Thu, 27 May 2004 15:42:36 +0100 |
| MIME-Version: | 1.0 |
| In-Reply-To: | <40B5FBC4.4010000@scytek.de> |
| Message-ID: | <NUTMEG9JYNog7AOibYg00000098@NUTMEG.CAM.ARTIMI.COM> |
| 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 <DIR> .
> 05/27/2004 09:52 AM <DIR> ..
> 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/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |