On Fri 23 Mar 2007 06:30:41 NZST +1200, Nick Rout wrote:

> How about
> 
> mount --bind /dev $MYCHROOT/dev/

Will work, but one might have very good reason to limit the devices
available in the chroot environment to for example not include any of
your pluggable gimmicks. Same goes for the makefile approach.

The best approach is to use mknod to only create what's actually needed.
The idea of chroot is to move everything *out* that is not needed to
limit the potential damage. No point in a straightjacket which is 3
times too big.

Volker

-- 
Volker Kuhlmann                 is list0570 with the domain in header
http://volker.dnsalias.net/     Please do not CC list postings to me.

Reply via email to