delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/05/27/11:00:55

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
X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs
Date: Thu, 27 May 2004 10:59:27 -0400 (EDT)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: Volker Quetschke <quetschke AT scytek DOT de>
cc: cygwin AT cygwin DOT com
Subject: Re: redirection can create nul files - Was: rm hangs on illegal filename nul
In-Reply-To: <40B5FE65.5080609@scytek.de>
Message-ID: <Pine.GSO.4.58.0405271057320.25579@slinky.cs.nyu.edu>
References: <NUTMEGbH6FTpaNrsiVf00000094 AT NUTMEG DOT CAM DOT ARTIMI DOT COM> <40B5F6EB DOT 5030200 AT scytek DOT de> <40B5FE65 DOT 5080609 AT scytek DOT de>
MIME-Version: 1.0
X-Scanned-By: MIMEDefang 2.39

On Thu, 27 May 2004, Volker Quetschke wrote:

> Just FYI and for the archives:
>
> > Any ideas how to remove the nul files? Really, I don't want to
> > format my disk because of this.
> You can fool NTFS into not doing reserve-word checking with:
>
> DEL \\.\c:\somedir\nul
>
> You propably have to use the correct quotes, or use cmd.exe,
> like I did.
>
> Volker

A couple more datapoints:

- You can also create "nul" by "touch nul".
- You can use forward slashes, so "rm //./c:/somedir/nul" works.
- For me (on Win2k SP3), "rm nul" doesn't hang, but doesn't do anything
  either.

$ uname -a
CYGWIN_NT-5.0 pechtcha 1.5.10(0.116/4/2) 2004-05-25 22:07 i686 unknown unknown Cygwin
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster."  -- Patrick Naughton

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