Date: Mon, 25 Aug 2008 18:34:36 +0200 From: Kris Kennaway <kris@FreeBSD.org> To: =?UTF-8?B?TWloYWkgRG9uyJt1?= <mihai.dontu@gmail.com> Cc: freebsd-questions@freebsd.org Subject: Re: FreeBSD 5.4 chroot Message-ID: <48B2DF1C.7030309@FreeBSD.org> In-Reply-To: <200808251853.28659.mihai.dontu@gmail.com> References: <200808251853.28659.mihai.dontu@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Mihai Donțu wrote: > Hi, > > I've just installed a FreeBSD 6.0-RELEASE and I need a FreeBSD 5.4-RELEASE > chroot to build something in it (hw shortage). All nice and dandy, until I > hit a /dev problem: > > # svn up > svn: PROPFIND request failed on '/svn/project' > svn: PROPFIND of '/svn/project': SSL negotiation failed: SSL disabled due to > lack of entropy (https://svn.host.com) > > # ls -l /dev/random > crw-rw-rw- 1 root wheel 249, 0 Aug 25 16:19 /dev/random > > # cat /dev/random > cat: /dev/random: Socket operation on non-socket > > # rm /dev/random > > # mknod /dev/mknod random c 0 10 root:wheel > > # chmod 0666 /dev/random > > # ls -l /dev/random > crw-rw-rw- 1 root wheel 0, 10 Aug 25 18:28 /dev/random > > # cat /dev/random > cat: /dev/random: Socket operation on non-socket > > Clearly, all those years of Linux chroot-ing have affected my brain, but > Google isn't very helpful either. :) Could someone, please, hint me about > what I'm doing wrong? mount a devfs instance to create the devices (see mount_devfs) instead of trying to mknod them by hand. Kris
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?48B2DF1C.7030309>