From owner-freebsd-current@FreeBSD.ORG Sun Oct 3 01:43:56 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 539C916A4CE for ; Sun, 3 Oct 2004 01:43:56 +0000 (GMT) Received: from harmony.village.org (rover.village.org [168.103.84.182]) by mx1.FreeBSD.org (Postfix) with ESMTP id F02F443D31 for ; Sun, 3 Oct 2004 01:43:55 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from localhost (harmony.village.org [10.0.0.6]) by harmony.village.org (8.13.1/8.13.1) with ESMTP id i931hHHN069411; Sat, 2 Oct 2004 19:43:20 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Sat, 02 Oct 2004 19:44:45 -0600 (MDT) Message-Id: <20041002.194445.93451101.imp@bsdimp.com> To: kris@obsecurity.org From: "M. Warner Losh" In-Reply-To: <20041001163250.GA71766@xor.obsecurity.org> References: <20041001163250.GA71766@xor.obsecurity.org> X-Mailer: Mew version 3.3 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: phk@phk.freebsd.dk cc: freebsd-current@freebsd.org cc: daniel_k_eriksson@msn.com Subject: Re: zero and null regression? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Oct 2004 01:43:57 -0000 In message: <20041001163250.GA71766@xor.obsecurity.org> Kris Kennaway 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