Hi Ronaldo,

> I have an x86 OpenWRT router that I build from source and I'm facing 
> some ext4 problems.
> 
> I'd like to make some kind of automatic filesystem check on boot but 
> have no ideia about how to to that in OpenWRT.
> 
> I have read about mounting the root (/) partition as "/overlay", so 
> this way I could check the / ext4 partition before mounting it ...
> 
> Do you guys have any other suggestion?


See:

http://wiki.openwrt.org/doc/uci/fstab#mounting.filesystem

Adding

 option 'enabled_fsck' '1'

to your mount configs should suffice.


cheers,
Michael
_______________________________________________
openwrt-users mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-users

Reply via email to