Saying this is how the world looks like before pivot_root,
/
/bin
/sbin
/etc
/lib
/proc
/sysfs
.....
When I call "pivot_root /newroot /newroot/oldroot", what happened to all these folders above?
We get a nude "/" and whole old world resides in "/oldroot"??
/
/oldroot
/oldroot/bin
/oldroot/sbin
/oldroot/lib
/oldroot/etc
But then who created /bin, /sbin, and /proc, /sysfs in the new world?