delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/06/01/13:28:22

X-Spam-Check-By: sourceware.org
Message-ID: <ba40711f0606010929i7368cc50x8ee56f804728fa91@mail.gmail.com>
Date: Thu, 1 Jun 2006 12:29:22 -0400
From: "Lev Bishop" <lev DOT bishop AT gmail DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: bash: /dev/null: No such file or directory. Why is /dev/null implemented using the windows NUL device?
In-Reply-To: <c2888f8c0606010257k4e9fb74x1d5ceb8995283b45@mail.gmail.com>
MIME-Version: 1.0
References: <c2888f8c0606010257k4e9fb74x1d5ceb8995283b45 AT mail DOT gmail DOT com>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
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

On 6/1/06, Robert McKay wrote:

> Does anyone know what can go wrong with the windows NUL device? :-)
>
> Do you need any kind of special permissions to use NUL?

You could download winobj from sysinternals.com.
Check that \GLOBAL??\NUL is a symbolic link to \Device\Null
Check that \Device\Null exists.
Check the permissions for both (properties, security tab).

HTH
Lev

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