You are not logged in.
Does anyone has some good docs or so which explains HOW different "virtual kernel file systems" is needed by chroot?
The reason I am asking this is when I try to know about necessary preparation for chroot, I see many different suggested ways.
In Arch we usually tell people to use `arch-chroot` to save the hassle, which will basically do these:
https://projects.archlinux.org/arch-ins … 408ae3#n82
which is more or less the same as:
http://www.linuxfromscratch.org/lfs/vie … -bindmount
But in some sources, there is no mention of devpts or shm.
Worsestill, different people have different answers on whether each of them should be simply mounted with -t fstype or --bind, like: http://superuser.com/questions/165116/m … nvironment
ArchWiki currently even suggested --rbind, which actually seem to make things like hell if you need to umount without reboot. (for /proc and /sys, `umount -R` will tell you device is busy; for /dev `umount -R` will even umount the submount in the /dev of live environment)
So, any better pointers?
Offline