From owner-freebsd-current@FreeBSD.ORG Fri Apr 30 05:11:19 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 15F3716A4CE for ; Fri, 30 Apr 2004 05:11:19 -0700 (PDT) Received: from vimes.aminor.no (vimes.aminor.no [213.187.177.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7A5C043D2F for ; Fri, 30 Apr 2004 05:11:18 -0700 (PDT) (envelope-from eivind@aminor.no) Received: from localhost (localhost.eivind [127.0.0.1]) by vimes.aminor.no (Postfix) with ESMTP id 99B471704C for ; Fri, 30 Apr 2004 14:11:17 +0200 (CEST) Received: from vimes.aminor.no ([127.0.0.1]) by localhost (vimes.eivind [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 40724-04 for ; Fri, 30 Apr 2004 14:11:13 +0200 (CEST) Received: from [10.122.7.143] (nextra-3-244.nextra.no [148.122.3.244]) by vimes.aminor.no (Postfix) with ESMTP id 928741703D for ; Fri, 30 Apr 2004 14:11:13 +0200 (CEST) Date: Fri, 30 Apr 2004 14:14:18 +0200 From: Eivind Olsen To: freebsd-current@freebsd.org Message-ID: <348620619.1083334458@[10.122.7.143]> X-Mailer: Mulberry/3.1.2 (Win32) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Virus-Scanned: by amavisd-new at aminor.no Subject: DEVFS in a chroot? 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: Fri, 30 Apr 2004 12:11:19 -0000 Hello. I'm running some processes in a chroot (not a jail) and I need to have a small /dev in the chroot directory containing for example random and urandom. As I understand it, the recommended way to do this is to use devfs, but I'm not sure how to go about doing that. Should I mount /var/chroot/dev as type devfs? And I'd need to create some devfs-rulefile? I'm not sure how I should tie this together in a clean way in FreeBSD 5.2.1 (RELENG_5_2), any suggestions/pointers? -- Regards / Hilsen Eivind Olsen