Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 May 2010 14:11:48 +0200
From:      Jilles Tjoelker <jilles@stack.nl>
To:        Tjado =?iso-8859-1?Q?M=E4cke?= <tjado.ml.freebsd-hackers@maecke.net>
Cc:        freebsd-hackers@freebsd.org, "Julian H. Stacey" <jhs@berklix.com>
Subject:   Re: /dev/null & zero inside chroot for make release
Message-ID:  <20100515121148.GA72802@stack.nl>
In-Reply-To: <4BEE4944.4070104@maecke.net>
References:  <201005131745.o4DHiw7x016383@fire.js.berklix.net> <4BEE4944.4070104@maecke.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, May 15, 2010 at 09:12:04AM +0200, Tjado Mäcke wrote:
> Am 13.05.2010 19:44, schrieb Julian H. Stacey:
> > Hi Hackers,
> > Problem with /dev/null & /dev/zero inside a chroot:
> > I wanted to build a release from inside a chroot

> > What sort of null & zero should be in chroot ?
> > man mknod ... deprecated ...
> > Should I be running a devfs (I'm not currently)
> > Or a jail ? (I dont really want that level of encapsulation ).

> http://www.ijs.si/software/amavisd/README.chroot

> mknod dev/null    c  2 2   # FreeBSD

This is deprecated as of FreeBSD 5.0 and does not work at all as of
FreeBSD 6.0, see mknod(8). Only device nodes in devfs can be used to
access devices.

-- 
Jilles Tjoelker



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