Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 02 Oct 2004 19:44:45 -0600 (MDT)
From:      "M. Warner Losh" <imp@bsdimp.com>
To:        kris@obsecurity.org
Cc:        daniel_k_eriksson@msn.com
Subject:   Re: zero and null regression?
Message-ID:  <20041002.194445.93451101.imp@bsdimp.com>
In-Reply-To: <20041001163250.GA71766@xor.obsecurity.org>
References:  <BAY11-F3Pylh7i70A780001c865@hotmail.com> <20041001163250.GA71766@xor.obsecurity.org>

next in thread | previous in thread | raw e-mail | index | archive | help
In message: <20041001163250.GA71766@xor.obsecurity.org>
            Kris Kennaway <kris@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041002.194445.93451101.imp>