From owner-freebsd-questions@FreeBSD.ORG Wed Aug 11 15:15:44 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6F26316A4CE for ; Wed, 11 Aug 2004 15:15:44 +0000 (GMT) Received: from smtp.hispeed.ch (mxout.hispeed.ch [62.2.95.247]) by mx1.FreeBSD.org (Postfix) with ESMTP id 648FC43D31 for ; Wed, 11 Aug 2004 15:15:43 +0000 (GMT) (envelope-from hampi@rootshell.be) Received: from gicco.homeip.net (80-218-73-163.dclient.hispeed.ch [80.218.73.163])i7BFFfUI032693 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO) for ; Wed, 11 Aug 2004 17:15:41 +0200 Received: from localhost.here (idefix@gicco.homeip.net [127.0.0.1]) by gicco.homeip.net (8.12.8p2/8.12.8) with ESMTP id i7BFFe5A001702 for ; Wed, 11 Aug 2004 17:15:41 +0200 (CEST) (envelope-from hampi@rootshell.be) Received: (from idefix@localhost) by localhost.here (8.12.8p2/8.12.8/Submit) id i7BFFdGA001701 for freebsd-questions@freebsd.org; Wed, 11 Aug 2004 17:15:39 +0200 (CEST) X-Authentication-Warning: localhost.here: idefix set sender to hampi@rootshell.be using -f Date: Wed, 11 Aug 2004 17:15:39 +0200 From: Hanspeter Roth To: freebsd-questions@freebsd.org Message-ID: <20040811151539.GA1658@gicco.homeip.net> Mail-Followup-To: freebsd-questions@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.1i Subject: FreeBSD 5, chroot and /dev X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: freebsd-questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Aug 2004 15:15:44 -0000 Hello, I have built a new kernel on a FreeBSD 5.2 system which doesn't boot anymore. So I took a Freesbee and mounted the filesystems from the harddisk and changed root to the harddisk's one. But there were no devices in /dev. I tried some of /etc/rc.d/dev*. This only created a /dev/null. Trying to build the kernel (with a different configuration) fails. A regular file /dev/stdout has been created. What is the recommended way to create the device nodes in /dev in a chroot environment? -Hanspeter