[OpenWrt-Devel] [PATCH 2/2] gemini: Generate harddisk image for DNS-313
linus.walleij at linaro.org
Sun Feb 17 15:51:51 EST 2019
On Sun, Feb 17, 2019 at 5:22 PM Christian Lamparter <chunkeey at gmail.com> wrote:
> > + FILESYSTEMS := ext4 squashfs
> squashfs images would be nice. They are prefered because they support features
> like better/safer Failsafe Mode and Factory Reset, which are not available for
> the ext4 images as they need the "read-only" property that squashfs provides.
> Though, the squashfs images on block-like devices (hdd/ssd/mmc) are trickier,
> because they need f2fs (kernel + userspace) + loopdev support in order to
> work properly. (Without these, the squashfs image will boot, but it will
> always lose the configuration on reboot because all the volatile files are
> just stored on a emergency ramdisk fallback).
So I figure if I just put a file in /etc/config/foo.txt or so and it remains
after a reboot it is fine.
> That's why I added the changes to the config-4.14 and config-4.19 and added
> the f2fs tools. I put them into this separate patch on my staging area:
> if these work out, please let me know.
I'll git it a spin, now that I understand what you want to achieve!
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
More information about the openwrt-devel