Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 Oct 2004 09:32:50 -0700
From:      Kris Kennaway <kris@obsecurity.org>
To:        Daniel Eriksson <daniel_k_eriksson@msn.com>
Cc:        freebsd-current@freebsd.org
Subject:   Re: zero and null regression?
Message-ID:  <20041001163250.GA71766@xor.obsecurity.org>
In-Reply-To: <BAY11-F3Pylh7i70A780001c865@hotmail.com>
References:  <BAY11-F3Pylh7i70A780001c865@hotmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
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.

Kris
[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (FreeBSD)

iD8DBQFBXYayWry0BWjoQKURAq7wAKDVhSgfg+WnPRmX9Jh1YcL0ELyQ4QCgzVil
NR32u9QuZE9TEzF4MBYF2T0=
=Qp9Q
-----END PGP SIGNATURE-----

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