[OpenWrt-Devel] [PATCH] lantiq: ubinize autoresize flag for rootfs_data

Ben Mulvihill ben.mulvihill at gmail.com
Sun Jun 22 07:25:02 EDT 2014


Setting this flag allows rootfs_data to expand on first boot
to fill remaining free space on nand.

Signed-off-by: Ben Mulvihill <ben.mulvihill at gmail.com>
---
--- a/target/linux/lantiq/image/ubinize-overlay.cfg	2014-06-22 13:06:07.165906341 +0200
+++ b/target/linux/lantiq/image/ubinize-overlay.cfg	2014-06-22 13:06:26.754362400 +0200
@@ -19,3 +19,5 @@ vol_type=dynamic
 # Volume name
 vol_name=rootfs_data
 vol_size=1MiB
+# Autoresize volume at first mount
+vol_flags=autoresize
_______________________________________________
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