[OpenWrt-Devel] rootfs_data on separated flash
zajec5 at gmail.com
Mon Dec 15 18:20:32 EST 2014
On 15 December 2014 at 06:29, John Crispin <blogic at openwrt.org> wrote:
> On 14/12/2014 21:37, Rafał Miłecki wrote:
>> 1) I've modified DT to create "ubi" MTD partition on NAND
>> 2) Wrote a simple preinit_main script creating "rootfs_data2" UBI volume
>> 3) Modified fstools to prefer rootfs_data2 over rootfs_data if it exists
> i dont like that bit at all. its a work around for us not having come up
> with a real solution. i need a few more days to devise a better plan.
> spontaneously i would consider extroot or extroot_data an option
Me too. That's why I called your idea nicer :)
I was thinking about some simple solution. I think it would be enough
to create extroot config (for this specific device) right after
formatting JFFS2. Formatting is handled by /etc/init.d/done
(START=95). So I could add script with START=96 that will preapre
extroot and add fstab config entry.
Does it sound sane & clean enough to you?
However: is there some way to tell OpenWrt to re-scan fstab other than "reboot"?
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
More information about the openwrt-devel