www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/07/21/15:24:05

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: Wed, 21 Jul 2004 15:23:38 -0400 (EDT)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: Chuck McDevitt <cmcdevitt AT ABINITIO DOT COM>
cc: zzapper <david AT tvis DOT co DOT uk>, cygwin AT cygwin DOT com
Subject: Re: How to delete rogue nul files
In-Reply-To: <OF1F9CD2D2.449E962E-ON85256ED8.0069A314-85256ED8.00699C7F@abinitio.com>
Message-ID: <Pine.GSO.4.58.0407211521250.22264@slinky.cs.nyu.edu>
References: <OF1F9CD2D2 DOT 449E962E-ON85256ED8 DOT 0069A314-85256ED8 DOT 00699C7F AT abinitio DOT com>
MIME-Version: 1.0
X-Scanned-By: MIMEDefang 2.39

On Wed, 21 Jul 2004, Chuck McDevitt wrote:

> While it's not hard to delete the rouge "nul" files, it is a recent change
> to cygwin that allows them to be created at all.
>
> 1.5.9 seemed to treat "NUL" in the normal windows way (equivalent of
> /dev/null), so didn't create these files.
>
> 1.5.10 changed so Cygwin no longer recognizes windows special file names
> like "NUL", and instead treats them like normal files.
>
> Is there a reason for this change?

Read the thread that Dave Korn pointed to.  It was a bug in Cygwin 1.5.10.
The bug was fixed in CVS, and is not present in the latest snapshots.
The recipe for deleting the file was only needed for the systems that have
this bug.  FWIW, the 20040716 snapshot is pretty stable (I'm running it
now)...  YMMV...
	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