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)

On Mar 30,  9:51pm, (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.


Home | Main Index | Thread Index | Old Index