From owner-freebsd-stable Thu Sep 12 6:32:23 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 AA62537B401 for ; Thu, 12 Sep 2002 06:32:20 -0700 (PDT) Received: from itworks.com.au (dsl-203-113-236-222.VIC.netspace.net.au [203.113.236.222]) by mx1.FreeBSD.org (Postfix) with SMTP id 3711143E4A for ; Thu, 12 Sep 2002 06:32:14 -0700 (PDT) (envelope-from gavin@itworks.com.au) Received: (qmail 72091 invoked from network); 12 Sep 2002 13:32:42 -0000 Received: from unknown (HELO bugs) (192.168.1.100) by chip.gav.itworks.com.au with SMTP; 12 Sep 2002 13:32:42 -0000 Message-ID: <026901c25a60$d2da7e50$6401a8c0@bugs> From: "Gavin Cameron" To: "Ruben de Groot" Cc: References: <018801c25a42$b8760980$6401a8c0@bugs> <20020912104747.GA30206@ei.bzerk.org> Subject: Re: Creating a jail with -STABLE Date: Thu, 12 Sep 2002 23:32:21 +1000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 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 Thanks very much! Jail built successfully. Gavin > 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 > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message