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

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?026901c25a60$d2da7e50$6401a8c0>