The way I do it do use the same basic boot method as for a flash
filesystem, and just do the necessary things to make up for the
differences between to two types of media. I can do that because I
have modularized the preinit/mount_root/firstboot scripts and subsitute
usb boot stuff where appropriate, without changing the parts than can
stay the same.
essentially I have two devices .. a wl500w that should use an usb stick
as root
and an sdmodded wrt54gl that should use the sdcard ...
Sounds like your system would fit these purposes, I see if I'll find the
time to check it against my needs.. on the other hand, as long as it's
not in trunk a minor modification one liner to mount_root, could do the
trick as well.
You can't just pivot_root because in rc.d (which is one solution on the
wiki) because then your /etc is limited to what is left on the flash
after the firmware takes up space.
as far as i understand the pivot has to take place before init is run,
so it has to take place in preboot/mount_root - doesn't it?
Felix is talking about an aufs solution, but you'd have to ask him
about that, and I'm not sure what his timeline is (I suspect it
wouldn't be as soon, so my solution could be viewed as an at least
interim solution).
@Felix: Are you reading? Any news on this topic?
Is there aufs available in trunk? Couldn't find a package, seems not to
be part of the kernel also ...
Thanks ..bud
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel