[OpenWrt-Devel] [PATCH 2/2] gemini: Generate harddisk image for DNS-313

Linus Walleij 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:
>
> https://git.openwrt.org/?p=openwrt/staging/chunkeey.git;a=commit;h=1626b5ca1d963e70a979fc4e6262149208608d46
>
> if these work out, please let me know.

I'll git it a spin, now that I understand what you want to achieve!

Yours,
Linus Walleij

_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list