Complete chroot environment?
Jack Byers
byersj at hotmail.com
Mon Dec 24 04:08:32 UTC 2007
Tom, Les
maybe more complete?
#!/bin/bash
mount --bind /dev /path-to-your-chroot/dev
mount --bind /dev/pts /path-to-your-chroot/dev/pts
mount --bind /dev/shm /path-to-your-chroot/dev/shm
mount -t proc none /path-to-your-chroot/proc
mount -t sysfs none /path-to-your-chroot/sys
mount --bind /tmp /path-to-your-chroot/tmp
xhost local:localhost
Jack
_________________________________________________________________
i’m is proud to present Cause Effect, a series about real people making a difference.
http://im.live.com/Messenger/IM/MTV/?source=text_Cause_Effect
More information about the fedora-list
mailing list