This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
Re: Q: How to configure /dev/null
- To: mh at mike dot franken dot de
- Subject: Re: Q: How to configure /dev/null
- From: "Earnie Boyd" <earnie_boyd at hotmail dot com>
- Date: Thu, 20 Nov 1997 09:09:20 PST
- Cc: gnu-win32 at cygnus dot com
>Date: 19 Nov 1997 19:36:00 +0100
>From: mh@mike.franken.de (Michael Hirmke)
>To: gnu-win32@cygnus.com
>Subject: Re: Q: How to configure /dev/null
>
>Hi Richard,
>
>>How do I create a valid /dev/null on NT? TIA.
>
>It is already existing.
>
Hi Michael,
/dev/null doesn't exist in the sense that it was being used. As I
stated to Richard, /dev/null is being emulated by the cygwin.dll for
pipes and redirection. However, Richard had a situation where /dev/null
was being used as a file parameter to diff. I.E.: diff /dev/null
somefile. diff complained that the file didn't exist which is true. To
correct this problem you have to create a /dev directory and create a
zero length file named null. I.E.: mkdir /dev; cd /dev; cat << EOD >
null; EOD
- \\||//
---o0O0--Earnie--0O0o----
-earnie_boyd@hotmail.com-
------ooo0O--O0ooo-------
______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".