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: Jukka Ruohonen <>
Subject: Re: lib/44807: something broken in stat(2)
Date: Wed, 30 Mar 2011 21:51:08 +0300

 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?
 - Jukka.

Home | Main Index | Thread Index | Old Index