When using chroot, one usually wants to mount/bind special folders too: mount -o bind /dev /mnt/dev mount -t sysfs sysfs /mnt/sys mount -t proc procfs /mnt/proc
I was wandering, if there is any reason, why there is no additional command line switch to chroot to automatically perform these steps? If not, can someone please add them? (maybe it should store a flag in this case and try to unmount them when exiting again)
