From owner-freebsd-doc Sun Feb 9 21:29: 0 2003 Delivered-To: freebsd-doc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DC1D937B401; Sun, 9 Feb 2003 21:28:58 -0800 (PST) Received: from 12-234-22-23.client.attbi.com (12-234-22-23.client.attbi.com [12.234.22.23]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6B22443FEA; Sun, 9 Feb 2003 21:26:38 -0800 (PST) (envelope-from DougB@FreeBSD.org) Received: from dougb.net (f0lutajahpdn2hi4@dougb.net [10.0.0.1]) by 12-234-22-23.client.attbi.com (8.12.6/8.12.6) with ESMTP id h1A5QVS8002030; Sun, 9 Feb 2003 21:26:31 -0800 (PST) (envelope-from DougB@FreeBSD.org) Date: Sun, 9 Feb 2003 21:26:31 -0800 (PST) From: Doug Barton To: Giorgos Keramidas Cc: freebsd-doc@FreeBSD.org Subject: Re: docs/48095: Manual page for jail(8) does not mention mounting devfs under jail. In-Reply-To: <200302092050.h19KoEKx020142@freefall.freebsd.org> Message-ID: <20030209212448.X866@12-234-22-23.pyvrag.nggov.pbz> References: <200302092050.h19KoEKx020142@freefall.freebsd.org> Organization: http://www.FreeBSD.org/ X-message-flag: Outlook -- Not just for spreading viruses anymore! MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-doc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Sun, 9 Feb 2003, Giorgos Keramidas wrote: > # Jailed processes that need devices should have some sort of access > # to /dev nodes when they are inside the jail, imho. It is then up to > # the administrator to choose how to implement this. Either by > # mounting devfs under the /jail/dev directory or by manually calling > # MAKEDEV or mknod to create only those devices that are absolutely > # necessary. MAKEDEV has gone the way of the dodo in -current, so it shouldn't be mentioned. I have successfully created devices in a chroot environment with mknod in -current, and they survive reboot. I haven't tried it with a jail yet though. HTH, Doug -- "The last time France wanted more evidence, it rolled right through Paris with a German flag." - David Letterman To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-doc" in the body of the message