From owner-freebsd-hackers@FreeBSD.ORG Sat May 15 15:32:47 2010 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 313FD106566C for ; Sat, 15 May 2010 15:32:47 +0000 (UTC) (envelope-from tjado.ml.freebsd-hackers@maecke.net) Received: from mail.xuat.net (maecke.net [85.25.179.71]) by mx1.freebsd.org (Postfix) with ESMTP id E9D5D8FC08 for ; Sat, 15 May 2010 15:32:46 +0000 (UTC) Received: from [192.168.10.33] (g230241005.adsl.alicedsl.de [92.230.241.5]) by mail.xuat.net (Postfix) with ESMTPSA id 66A4352FB; Sat, 15 May 2010 17:32:44 +0200 (CEST) Message-ID: <4BEEBE99.4050105@maecke.net> Date: Sat, 15 May 2010 17:32:41 +0200 From: =?ISO-8859-15?Q?Tjado_M=E4cke?= User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.1.9) Gecko/20100317 Thunderbird/3.0.4 MIME-Version: 1.0 To: "Julian H. Stacey" References: <201005151225.o4FCPkl3056460@fire.js.berklix.net> In-Reply-To: <201005151225.o4FCPkl3056460@fire.js.berklix.net> Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit Cc: freebsd-hackers@freebsd.org Subject: Re: /dev/null & zero inside chroot for make release X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 15 May 2010 15:32:47 -0000 > Thanks for trying to help :-) But this is in Wrong. > Line 4 on that page: > Last updated: 2005-08-11 > 5 years later, FreeBSD-8.0 has via ls -l /dev/null > crw-rw-rw- 1 root wheel 0, 31 May 15 14:17 /dev/null > so both major & minor numbers have changed, command now would be > mknod dev/null c 0 31 > which I already posted in my original Thu, 13 May 2010 19:44:58 +0200 > as having tried, but not good enough. > > As I posted Fri, 14 May 2010 21:59:23 +0200 (but you may not have > seen when you posted) > > Hm... i did this on 7.2 because chrooted scponly shell with WinSCP support needs it. In this case it works... But I'm wrong because the dev/null with my nod numbers doesn't work correctly and WinSCP looks only if this file is there :D