Re: zero and null regression?

From: M. Warner Losh <imp_at_bsdimp.com>
Date: Sat, 02 Oct 2004 19:44:45 -0600 (MDT)
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
Received on Sat Oct 02 2004 - 23:43:56 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:15 UTC