After reading this answer on bind mount, I got the idea that a bind-mount in Linux is to reproduce part or an entire filesystem under another point in the directory tree.
So when we write the following commands
mount --rbind /dev dev
mount --rbind /run run
This means to bind the system's
/run to the point locally under dev and run. Meaning the contents of the system's /dev and /run will be replicated under the directories dev and run locally. Also if I make any changes to the dev and run they will not be reflected in the system's /dev and /run. Right ? But the reverse will be true ?
So my question is why are mounts like the following needed before we run
What information does it need from the /run and /dev directories? If a bind mount is unable to change information then is it just for read only access by default?