Date: Sat, 15 May 2010 14:25:45 +0200 From: "Julian H. Stacey" <jhs@berklix.com> To: =?ISO-8859-15?Q?Tjado_M=E4cke?= <tjado.ml.freebsd-hackers@maecke.net> Cc: freebsd-hackers@freebsd.org Subject: Re: /dev/null & zero inside chroot for make release Message-ID: <201005151225.o4FCPkl3056460@fire.js.berklix.net> In-Reply-To: Your message "Sat, 15 May 2010 09:12:04 %2B0200." <4BEE4944.4070104@maecke.net>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi, =?ISO-8859-15?Q?Tjado_M=E4cke?= 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 Thanks for trying to help :-) But this is in Wrong. Line 4 on that page: Last updated: 2005-08-11 5 years later, FreeBSD-8.0 has via ls -l /dev/null crw-rw-rw- 1 root wheel 0, 31 May 15 14:17 /dev/null so both major & minor numbers have changed, command now would be mknod dev/null c 0 31 which I already posted in my original Thu, 13 May 2010 19:44:58 +0200 as having tried, but not good enough. As I posted Fri, 14 May 2010 21:59:23 +0200 (but you may not have seen when you posted) > I found this works: > mount -t devfs dev /usrb/chroot/dev Thanks anyway. Cheers, Julian -- Julian Stacey: BSD Unix Linux C Sys Eng Consultants Munich http://berklix.com Mail plain text, Not HTML quoted-printable Base64 http://www.asciiribbon.org
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201005151225.o4FCPkl3056460>