chroot

Justin Hibbits jrh29 at po.cwru.edu
Wed May 22 11:13:59 PDT 2002


On Wed, May 22, 2002 at 12:37:53PM -0500, Albert Wagner wrote:
> Is it possible to access host files from within chrooted environment?  The 
> host is already mounted so I can't mount it within chroot.

in the host system, do 

mount --bind <hostdir> <chroot_target_dir>

that will 'bind' the host directory to a directory in the chroot
envirnment.

Justin 'Gandalf' Hibbits
-- 
Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe lfs-chat' in the subject header of the message



More information about the lfs-chat mailing list