From owner-freebsd-stable Thu Sep 12 3:46:58 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E9FF037B400 for ; Thu, 12 Sep 2002 03:46:54 -0700 (PDT) Received: from ei.bzerk.org (ei.xs4all.nl [213.84.67.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9AC2043E4A for ; Thu, 12 Sep 2002 03:46:53 -0700 (PDT) (envelope-from fbsd-q@bzerk.org) Received: from ei.bzerk.org (BOFH@localhost [127.0.0.1]) by ei.bzerk.org (8.12.5/8.12.5) with ESMTP id g8CAllfH030256; Thu, 12 Sep 2002 12:47:47 +0200 (CEST) (envelope-from stable@ei.bzerk.org) Received: (from stable@localhost) by ei.bzerk.org (8.12.5/8.12.5/Submit) id g8CAllfG030255; Thu, 12 Sep 2002 12:47:47 +0200 (CEST) Date: Thu, 12 Sep 2002 12:47:47 +0200 From: Ruben de Groot To: Gavin Cameron Cc: stable@FreeBSD.ORG Subject: Re: Creating a jail with -STABLE Message-ID: <20020912104747.GA30206@ei.bzerk.org> References: <018801c25a42$b8760980$6401a8c0@bugs> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <018801c25a42$b8760980$6401a8c0@bugs> User-Agent: Mutt/1.4i Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, Sep 12, 2002 at 07:56:52PM +1000, Gavin Cameron typed: > Hi all, > > I use to do the following to make a jail under 4.3-STABLE. > > cd /usr/src > make hierarchy DESTDIR=$D > make obj > make depend > make all > make install DESTDIR=$D > cd etc > make distribution DESTDIR=$D NO_MAKEDEV=yes > cd $D/dev > sh MAKEDEV jail > > I've just tried to run this under a recent -STABLE and my $D/dev hasn't > been populated so I can't run my MAKEDEV. > > Anyone have any ideas? Yes, read the jail(8) manpage. There have been some changes: EXAMPLES Setting up a Jail Directory Tree This example shows how to setup a jail directory tree containing an entire FreeBSD distribution: D=/here/is/the/jail cd /usr/src mkdir -p $D make world DESTDIR=$D cd etc make distribution DESTDIR=$D -DNO_MAKEDEV_RUN ^^^^^^^^^^^^^^ this is biting you cd $D/dev sh MAKEDEV jail cd $D ln -sf dev/null kernel > > Ta > Gavin > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-stable" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message