zero and null regression?

Kris Kennaway kris at obsecurity.org
Fri Oct 1 09:32:12 PDT 2004


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20041001/40d00e64/attachment.bin


More information about the freebsd-current mailing list