public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* dev/null
@ 2001-01-01  4:14 Gerrit P. Haase
  2001-01-06 10:12 ` dev/null Melvyn Sopacua
  0 siblings, 1 reply; 9+ messages in thread
From: Gerrit P. Haase @ 2001-01-01  4:14 UTC (permalink / raw)
  To: cygwin

I found this at the cygwin-ug:

http://cygwin.com/cygwin-ug-net/setup-dir.html

'You do not need to create /dev in order to set up mounts for devices 
such as /dev/null as these are already automatically simulated inside 
the Cygwin library.'

But i got always errors from dejagnu accessing dev/null:

# of unexpected failures        2
WARNING: find_version failed:
couldn't read file "/dev/null": no such file or directory
make[3]: *** [check-DEJAGNU] Error 1

I created a dev/null, but then i got this error:

# of unexpected failures        2
WARNING: find_version failed:
couldn't read file "/dev/null": permission denied
make[3]: *** [check-DEJAGNU] Error 1

How to set up dejagnu or cygwin to handle this?
-- 
=^..^=
Gerrit Peter Haase
ID: 0x28A05137
FP: 875C 745E 01CF 8A34 2767  BE39 305E 5261 28A0 5137

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: dev/null
  2001-01-01  4:14 dev/null Gerrit P. Haase
@ 2001-01-06 10:12 ` Melvyn Sopacua
  2001-01-06 10:43   ` dev/null Christopher Faylor
  2001-01-06 13:28   ` dev/null Gerrit P. Haase
  0 siblings, 2 replies; 9+ messages in thread
From: Melvyn Sopacua @ 2001-01-06 10:12 UTC (permalink / raw)
  To: cygwin

Gerrit P. Haase wrote:

> I created a dev/null, but then i got this error:
> 
> # of unexpected failures        2
> WARNING: find_version failed:
> couldn't read file "/dev/null": permission denied
> make[3]: *** [check-DEJAGNU] Error 1
> 
> How to set up dejagnu or cygwin to handle this?

How did you setup the /dev/null?
I can't get `mknod' to work. I always get 'function not supported'.

And the flags - are they BSD compatible?




--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: dev/null
  2001-01-06 10:12 ` dev/null Melvyn Sopacua
@ 2001-01-06 10:43   ` Christopher Faylor
  2001-01-06 13:28   ` dev/null Gerrit P. Haase
  1 sibling, 0 replies; 9+ messages in thread
From: Christopher Faylor @ 2001-01-06 10:43 UTC (permalink / raw)
  To: cygwin

On Sat, Jan 06, 2001 at 07:11:04PM +0100, Melvyn Sopacua wrote:
>Gerrit P. Haase wrote:
>
>> I created a dev/null, but then i got this error:
>> 
>> # of unexpected failures        2
>> WARNING: find_version failed:
>> couldn't read file "/dev/null": permission denied
>> make[3]: *** [check-DEJAGNU] Error 1
>> 
>> How to set up dejagnu or cygwin to handle this?
>
>How did you setup the /dev/null?
>I can't get `mknod' to work. I always get 'function not supported'.

Right.  mknod is not implemented.  That's what the error means.

/dev/null is intrinsic to cygwin1.dll.  Cygwin programs can use it
automatically, just like they can use /dev/tty, /dev/mem, /dev/kmem,
etc.

cgf

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: dev/null
  2001-01-06 10:12 ` dev/null Melvyn Sopacua
  2001-01-06 10:43   ` dev/null Christopher Faylor
@ 2001-01-06 13:28   ` Gerrit P. Haase
  2001-01-06 19:04     ` dev/null Christopher Faylor
  2001-01-07  8:09     ` dev/null Soren Andersen
  1 sibling, 2 replies; 9+ messages in thread
From: Gerrit P. Haase @ 2001-01-06 13:28 UTC (permalink / raw)
  To: cygwin

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

<6 Jan 2001, 19:11 Uhr wars, als Melvyn Sopacua folgendes schrub:>
< Re: dev/null >

> Gerrit P. Haase wrote:
> 
> > I created a dev/null, but then i got this error:
> > 
> > # of unexpected failures        2
> > WARNING: find_version failed:
> > couldn't read file "/dev/null": permission denied
> > make[3]: *** [check-DEJAGNU] Error 1
> > 
> > How to set up dejagnu or cygwin to handle this?
> 
> How did you setup the /dev/null?
> I can't get `mknod' to work. I always get 'function not supported'.
> 
> And the flags - are they BSD compatible?

It was just a try of me as i didn't get dejagnu to run. Normally, 
/dev/null is emulated inside cygwin and you don't need to set it up.
 I was a little blue-eyed, i made this as a directory, just with 
windows-explorer, but it didn't solve my problems.

Try to ask again, with mknod as subject content.

-----BEGIN PGP SIGNATURE-----
Version: PGP 6.5.8 -- QDPGP 2.61c
Comment: =^..^=

iQA/AwUBOleASzBeUmEooFE3EQL7KgCgwjDHzqnrJWSduLyEXL7g8tWTv/MAnRMd
YcThIVZ/fl0F5mhbC31N9399
=v4k7
-----END PGP SIGNATURE-----
-- 
=^..^=
Gerrit Peter Haase
ID: 0x28A05137
FP: 875C 745E 01CF 8A34 2767  BE39 305E 5261 28A0 5137

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: dev/null
  2001-01-06 13:28   ` dev/null Gerrit P. Haase
@ 2001-01-06 19:04     ` Christopher Faylor
  2001-01-07  8:09     ` dev/null Soren Andersen
  1 sibling, 0 replies; 9+ messages in thread
From: Christopher Faylor @ 2001-01-06 19:04 UTC (permalink / raw)
  To: cygwin

On Sat, Jan 06, 2001 at 10:30:03PM +0100, Gerrit P. Haase wrote:
>-----BEGIN PGP SIGNED MESSAGE-----
>Hash: SHA1
>
><6 Jan 2001, 19:11 Uhr wars, als Melvyn Sopacua folgendes schrub:>
>< Re: dev/null >
>
>> Gerrit P. Haase wrote:
>> 
>> > I created a dev/null, but then i got this error:
>> > 
>> > # of unexpected failures        2
>> > WARNING: find_version failed:
>> > couldn't read file "/dev/null": permission denied
>> > make[3]: *** [check-DEJAGNU] Error 1
>> > 
>> > How to set up dejagnu or cygwin to handle this?
>> 
>> How did you setup the /dev/null?
>> I can't get `mknod' to work. I always get 'function not supported'.
>> 
>> And the flags - are they BSD compatible?
>
>It was just a try of me as i didn't get dejagnu to run. Normally, 
>/dev/null is emulated inside cygwin and you don't need to set it up.
> I was a little blue-eyed, i made this as a directory, just with 
>windows-explorer, but it didn't solve my problems.

Since /dev/null is not a directory that is hardly surprising.

>Try to ask again, with mknod as subject content.

Or, read the answer that I already provided.

cgf

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: dev/null
  2001-01-06 13:28   ` dev/null Gerrit P. Haase
  2001-01-06 19:04     ` dev/null Christopher Faylor
@ 2001-01-07  8:09     ` Soren Andersen
  2001-01-07  9:49       ` dev/null Christopher Faylor
  1 sibling, 1 reply; 9+ messages in thread
From: Soren Andersen @ 2001-01-07  8:09 UTC (permalink / raw)
  To: cygwin

On 6 Jan 2001, an entity purporting to be Gerrit P. Haase
[Gerrit P. Haase <gerrit.haase@t-online.de>] wrote [regarding Re: dev/null]

> > Gerrit P. Haase wrote:

> > > I created a dev/null, but then i got this error:

> > > # of unexpected failures        2
> > > WARNING: find_version failed:
> > > couldn't read file "/dev/null": permission denied

One thing that I have not read anybody explain yet, in this thread: the 
WinDOS system counterpart to UNI* 'dev/null' is simply 'nul' (or 'NUL'). If 
you need a null file to redirect IN to a command I guess you'd use that. I 
never try to redirect out to /dev/nul in Cygwin or otherwise, anyway -- 
although scripts generated by others need to be accomodated. But 
manually, I just use 'nul'.

   soren andersen


--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: dev/null
  2001-01-07  8:09     ` dev/null Soren Andersen
@ 2001-01-07  9:49       ` Christopher Faylor
  2001-01-08  5:37         ` dev/null Soren Andersen
  0 siblings, 1 reply; 9+ messages in thread
From: Christopher Faylor @ 2001-01-07  9:49 UTC (permalink / raw)
  To: cygwin

On Sun, Jan 07, 2001 at 11:09:03AM -0500, Soren Andersen wrote:
>On 6 Jan 2001, an entity purporting to be Gerrit P. Haase
>[Gerrit P. Haase <gerrit.haase@t-online.de>] wrote [regarding Re: dev/null]
>
>> > Gerrit P. Haase wrote:
>
>> > > I created a dev/null, but then i got this error:
>
>> > > # of unexpected failures        2
>> > > WARNING: find_version failed:
>> > > couldn't read file "/dev/null": permission denied
>
>One thing that I have not read anybody explain yet, in this thread: the 
>WinDOS system counterpart to UNI* 'dev/null' is simply 'nul' (or 'NUL'). If 
>you need a null file to redirect IN to a command I guess you'd use that. I 
>never try to redirect out to /dev/nul in Cygwin or otherwise, anyway -- 
>although scripts generated by others need to be accomodated. But 
>manually, I just use 'nul'.

/dev/null in cygwin eventually translates to the Windows NUL device.

There is no reason to use 'NUL' rather than '/dev/null' since they are
both the same thing ... unless you enjoy using MS-DOS constructs rather
than UNIX ones.  That's sort of anti-Cygwin, though.

cgf

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: dev/null
  2001-01-07  9:49       ` dev/null Christopher Faylor
@ 2001-01-08  5:37         ` Soren Andersen
  2001-01-08  6:53           ` dev/null Christopher Faylor
  0 siblings, 1 reply; 9+ messages in thread
From: Soren Andersen @ 2001-01-08  5:37 UTC (permalink / raw)
  To: cygwin

On 7 Jan 2001, an entity purporting to be Christopher Faylor
[Christopher Faylor <cygwin@cygwin.com>] wrote [regarding Re: dev/null]

soren:
>>  But manually, I just use 'nul'.

Chris:
> /dev/null in cygwin eventually translates to the Windows NUL device.

I figured.

> There is no reason to use 'NUL' rather than '/dev/null' since they are
> both the same thing ... unless you enjoy using MS-DOS constructs rather than
> UNIX ones.  That's sort of anti-Cygwin, though.

NO! NO! I am not anti-Cygwin ;-). I LUV Cygwin.

As a background general-knowledge sort of thing, I think its good to know 
this. Allegory ... if you were stranded on a desert island with no way to buy 
tiolet paper, would it be good to know how to make plant leaves very soft .. 
? Someone might someday be working out a problem without Cygwin 
around. I don't WISH it on them, but it could happen.

   Cheers,
     soren


--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: dev/null
  2001-01-08  5:37         ` dev/null Soren Andersen
@ 2001-01-08  6:53           ` Christopher Faylor
  0 siblings, 0 replies; 9+ messages in thread
From: Christopher Faylor @ 2001-01-08  6:53 UTC (permalink / raw)
  To: cygwin

On Mon, Jan 08, 2001 at 08:37:03AM -0500, Soren Andersen wrote:
>On 7 Jan 2001, an entity purporting to be Christopher Faylor
>[Christopher Faylor <cygwin@cygwin.com>] wrote [regarding Re: dev/null]
>
>soren:
>>>  But manually, I just use 'nul'.
>
>Chris:
>> /dev/null in cygwin eventually translates to the Windows NUL device.
>
>I figured.
>
>> There is no reason to use 'NUL' rather than '/dev/null' since they are
>> both the same thing ... unless you enjoy using MS-DOS constructs rather than
>> UNIX ones.  That's sort of anti-Cygwin, though.
>
>NO! NO! I am not anti-Cygwin ;-). I LUV Cygwin.
>
>As a background general-knowledge sort of thing, I think its good to know 
>this. Allegory ... if you were stranded on a desert island with no way to buy 
>tiolet paper, would it be good to know how to make plant leaves very soft .. 
>? Someone might someday be working out a problem without Cygwin 
>around. I don't WISH it on them, but it could happen.

Hopefully these people are reading the appropriate mailing lists and
newsgroups for non-cygwin problems, then.

In general, I think it is a good idea to use cygwin constructs as much
as possible.  Then, if/when we modify cygwin so that it can work around
the brain-dead, nul, com, aux, prn stupidity foisted on us by Windows'
MS-DOS roots, people won't be scratching their heads thinking "But I
read that 'NUL' should work fine in the cygwin mailing list."

cgf

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2001-01-08  6:53 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-01-01  4:14 dev/null Gerrit P. Haase
2001-01-06 10:12 ` dev/null Melvyn Sopacua
2001-01-06 10:43   ` dev/null Christopher Faylor
2001-01-06 13:28   ` dev/null Gerrit P. Haase
2001-01-06 19:04     ` dev/null Christopher Faylor
2001-01-07  8:09     ` dev/null Soren Andersen
2001-01-07  9:49       ` dev/null Christopher Faylor
2001-01-08  5:37         ` dev/null Soren Andersen
2001-01-08  6:53           ` dev/null Christopher Faylor

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).