[OpenWrt-Devel] Factory reset implementation on x86 platform

John Crispin john at phrozen.org
Thu Sep 17 04:17:50 EDT 2015



On 17/09/2015 09:06, Tavish Naruka wrote:
> On Thu, Sep 17, 2015 at 11:30 AM, Chetan C R <chetancr123 at gmail.com> wrote:
>> Hi,
>>
>> I wanted to implement factory reset functionality on x86 platform.
>> my rootfs is ext4
>>
> 
> Failsafe and factory rest would work only with squashfs+jffs2 afaik,
> in which case 'firstboot' just clears the jffs2 partition, which is
> mounted as an overlay on the squashfs filesystem(which is read only,
> failsafe mode uses only this).
> 

you can use the block2mtd layer to create a squash+jffs2 overlay setup
even if you are running your installation on a block device. this will
then allow you to use features such as jffs2reset

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



More information about the openwrt-devel mailing list