www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1996/12/09/13:51:51

From: toland AT epix DOT net ("Phillip N Toland")
Subject: Re: b17 bash problem with /dev/null on Windows 95 system
9 Dec 1996 13:51:51 -0800 :
Sender: daemon AT cygnus DOT com
Approved: cygnus DOT gnu-win32 AT cygnus DOT com
Distribution: cygnus
Message-ID: <199612091553.KAA02700.cygnus.gnu-win32@epix.net>
Mime-Version: 1.0
Original-To: "John W. Eaton" <jwe AT bevo DOT che DOT wisc DOT edu>, <gnu-win32 AT cygnus DOT com>
X-MSMail-Priority: Normal
X-Priority: 3
X-Mailer: Microsoft Internet Mail 4.70.1155
Original-Sender: owner-gnu-win32 AT cygnus DOT com

I think I know what is happeneing here. Under DOS-ish systems, every
directory has a nul device (nul is the magic name, not null as someone
suggested earlier). I believe you said earlier that you created a /dev
directory, so therefore /dev/nul exists but /dev/null doesn't. 
Unfortunately this doesn't explain why the cygwin tools can't find
/dev/null 

HTH
Phil
"Ook."  --the Librarian

----------
> 
> Yesterday, I wrote about a problem with b17, bash, and /dev/null on a
> Windows 95 system.  Some people suggested that it might be caused by
> having an old copy of cygwin.dll somewhere but I am quite certain that
> I only have files from b17 installed.
> 
> In any case, I still have the problem but have since discovered that
> although
> 
>   bash$ echo foo > /dev/null
> 
> fails,
> 
>   bash$ echo foo > /dev/nul
> 
> works (?!).
> 
> So, I kluged my way around the problem by substituting /dev/nul for
> /dev/null everywhere, and I was able to build a (sort of) working
> Octave binary.  Now on to the other nits...

-
For help on using this list, send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019