Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Sep 2002 12:47:47 +0200
From:      Ruben de Groot <fbsd-q@bzerk.org>
To:        Gavin Cameron <gavin@itworks.com.au>
Cc:        stable@FreeBSD.ORG
Subject:   Re: Creating a jail with -STABLE
Message-ID:  <20020912104747.GA30206@ei.bzerk.org>
In-Reply-To: <018801c25a42$b8760980$6401a8c0@bugs>
References:  <018801c25a42$b8760980$6401a8c0@bugs>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020912104747.GA30206>