Introducing /run
Introducing /run
Posted Mar 31, 2011 2:18 UTC (Thu) by neilbrown (subscriber, #359)In reply to: Introducing /run by bk
Parent article: Introducing /run
The connection is probably not obvious but your observations lead me to the thought that the next "logical" step is for '/' to be a tmpfs filesystem (the same one that initramfs is loaded into - no need for pivot root).
/run, /dev, and maybe /tmp are just subdirectories of '/'.
/bin, /etc, /usr, /var are all distinct mount points... probably --bind mount points. e.g
mkdir /root mount LABEL=rootfs /root for dir in bin sbin etc var lib do mkdir /$dir ; mount --bind /root/$dir /$dir doneThis means there is just one tmpfs filesystem with all the important stuff, and it is harder for rogue sysadmins to put extra non-standard things in / :-)
