From owner-freebsd-current@FreeBSD.ORG Mon Sep 19 19:44:02 2005 Return-Path: X-Original-To: freebsd-current@freebsd.org 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 02E2E16A420 for ; Mon, 19 Sep 2005 19:44:02 +0000 (GMT) (envelope-from Alexander@Leidinger.net) Received: from www.ebusiness-leidinger.de (jojo.ms-net.de [84.16.236.246]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8F01E43D5C for ; Mon, 19 Sep 2005 19:43:56 +0000 (GMT) (envelope-from Alexander@Leidinger.net) Received: from Andro-Beta.Leidinger.net (p54A5FB1A.dip.t-dialin.net [84.165.251.26]) (authenticated bits=0) by www.ebusiness-leidinger.de (8.13.1/8.13.1) with ESMTP id j8JJUbBS039429; Mon, 19 Sep 2005 21:30:50 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from Magellan.Leidinger.net (Magellan.Leidinger.net [192.168.1.1]) by Andro-Beta.Leidinger.net (8.13.3/8.13.3) with ESMTP id j8JJgch6062059; Mon, 19 Sep 2005 21:42:38 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Date: Mon, 19 Sep 2005 21:42:39 +0200 From: Alexander Leidinger To: Martin Cracauer Message-ID: <20050919214239.6f5f40ad@Magellan.Leidinger.net> In-Reply-To: <20050919130810.A41848@cons.org> References: <20050919130810.A41848@cons.org> X-Mailer: Sylpheed-Claws 1.9.14 (GTK+ 2.6.10; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new Cc: freebsd-current@freebsd.org Subject: Re: device entries outside /proc with procfs (for chroot) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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: Mon, 19 Sep 2005 19:44:02 -0000 On Mon, 19 Sep 2005 13:08:10 -0400 Martin Cracauer wrote: > /usr/ports/emulators/linux_base/pkg-message > recommendes: > > You may wish to create and populate /compat/linux/dev/ if you plan to > > chroot > > into your Linux installation. For example: > > > > mkdir /compat/linux/dev > > mknod /compat/linux/dev/null c 2 2 > > chmod 666 /compat/linux/dev/null > > > That won't work, as the major and minor device numbers are now a > moving target with devfs. emulators/linux_base is outdated. The current default is linux_base-8 (still not very decent, but better than 7.x). The correct way to fix the old port is to remove it. Unfortunately Trevor isn't very responsive since he clashed with me and portmgr (normaly I would list myself last, but in this case it's more appropriate to list me first)... at least he doesn't response to me. I'm wondering why you get problems. Don't create a dev directory at all and the kernel should fall back to the native one. Bye, Alexander. -- Intel: where Quality is job number 0.9998782345! http://www.Leidinger.net Alexander @ Leidinger.net GPG fingerprint = C518 BC70 E67F 143F BE91 3365 79E2 9C60 B006 3FE7