NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: lib/44807: something broken in stat(2)
The following reply was made to PR lib/44807; it has been noted by GNATS.
From: christos%zoulas.com@localhost (Christos Zoulas)
To: jruohonen%iki.fi@localhost, gnats-bugs%NetBSD.org@localhost
Cc: lib-bug-people%NetBSD.org@localhost, gnats-admin%NetBSD.org@localhost,
netbsd-bugs%NetBSD.org@localhost
Subject: Re: lib/44807: something broken in stat(2)
Date: Wed, 30 Mar 2011 17:30:34 -0400
On Mar 30, 9:51pm, jruohonen%iki.fi@localhost (Jukka Ruohonen) wrote:
-- Subject: Re: lib/44807: something broken in stat(2)
| On Wed, Mar 30, 2011 at 06:40:12PM +0000, Christos Zoulas wrote:
| > It works as expected. /dev/bpf is a cloner, so you get a new instance each
| > time you run. The instance does not have a place in the filesystem, so you
| > get the "right" information as far as that is concerned.
|
| Ah, right. Does this imply that decades old UNIX semantics are no longer
| valid in NetBSD; I can not open a "/dev/FOO", stat(2) it, and see whether it
| is a block or character device? How do I know whether "/dev/FOO" is a cloner
| and "/dev/BAR" is not? Is this not a bug?
Ok, i did not get that part. I will make it set char.
christos
Home |
Main Index |
Thread Index |
Old Index