Hi,
I'm having trouble following the new style scripts to figure out just exactly the steps/order of how the union is setup.
On first boot, the squashfs is mounted as rootfs and /jffs and /rom are empty (original squashfs).
I know how /jffs is mounted.
I don't know how/when the /rom mount point gets populated with the contents of the original squashfs?
I don't fully understand how the union is established but found mount -t mini_fo -o base=/,sto=/jffs "mini_fo:/jffs" /mnt
I don't know why /mnt is included above.
Do I have to move /proc etc.?
When is pivot_root called?
I've searched the forum and I've found information that hits all around what I'm looking (http://wiki.openwrt.org/doc/techref/preinit_mount) for but no step-by-step explanation of how the union gets set up.
I've been trying to unwind the scripts but I'm missing something and haven't fully figured out the order things happen.
(Last edited by hutchman on 16 Mar 2010, 21:32)