Date: Tue, 26 Aug 2008 11:57:24 +0300 From: Mihai =?utf-8?q?Don=C8=9Bu?= <mihai.dontu@gmail.com> To: Kris Kennaway <kris@freebsd.org> Cc: freebsd-questions@freebsd.org Subject: Re: FreeBSD 5.4 chroot Message-ID: <200808261157.25273.mihai.dontu@gmail.com> In-Reply-To: <48B2DF1C.7030309@FreeBSD.org> References: <200808251853.28659.mihai.dontu@gmail.com> <48B2DF1C.7030309@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Monday 25 August 2008, Kris Kennaway wrote: > 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. Works like magic. :) Thanks! -- Mihai Donțu
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200808261157.25273.mihai.dontu>