zero and null regression?

M. Warner Losh imp at bsdimp.com
Sat Oct 2 18:43:57 PDT 2004


In message: <20041001163250.GA71766 at xor.obsecurity.org>
            Kris Kennaway <kris at obsecurity.org> writes:
: On Fri, Oct 01, 2004 at 05:02:58AM +0000, Daniel Eriksson wrote:
: > After upgrading a 6-CURRENT machine from a 5 day old kernel to one cvsuped 
: > just a few hours ago, special files zero and null created through mknod no 
: > longer works.
: > 
: > # mknod zerotest c 2 12
: > # chmod 666 zerotest
: > # cat zerotest > /dev/null
: > cat: zerotest: Socket operation on non-socket
: > 
: > Could this be related to the vfs stuff Poul-Henning Kamp is working with?
: 
: I'm pretty sure this is by design - see phk's commits and related
: discussion.  Use devfs for device nodes.

This is inconvenient when you have a chroot that you use to build
products in that isn't a jail...  Not impossible to work around, just
very inconvenient :-(

Warner


More information about the freebsd-current mailing list