This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: XP embedded


On Apr 11 14:22, Jeff Lange wrote:
> Hi all,
>   While searching though the mail list archives, I found a posting
> back on March 9th asking about XP Embedded SP2 and the error
> "/dev/null: No such file or directory".
> 
> Everyone blasted the poster for running a really old version of Cygwin.
> 
> Well I'm running into the exact same problem, except that I'm running
> the latest version of Cygwin. When I start a console I get the message
> "bash: /dev/null: No such file or directory"
> 
> I did a little playing around and if I try to pipe anything out
> /dev/null I get the error.  just for kicks I tried creating /dev/null
> using mknod, but it failed saying that the file already exists
> 
> I have the exact same installation on regular XP SP2 and this problem
> does not exist
> 
> Let me know if you have any ideas on what the issue might be.

/dev/null in Cygwin is a direct connection to the NUL device of
Windows.  It looks like this device simply doesn't exist on 
embedded XP.  However, further debugging would be required by
somebody actually owning embedded XP (e.g. you).

As a workaround, try redirecting output to /dev/zero which is not
implemented using the Windows NUL device.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]