If you are creating a chroot jail and need to mount a filesystem from outside the jail, you can mount it as loopback,
before entering the jail.
For example, to mount /etc inside /jail/etc
# mount –bind /etc /jail/etc
done.
286/433
some Unix notes
If you are creating a chroot jail and need to mount a filesystem from outside the jail, you can mount it as loopback,
before entering the jail.
For example, to mount /etc inside /jail/etc
# mount –bind /etc /jail/etc
done.
286/433