mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-23 23:42:43 +00:00
aca708e4e6
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@gmail.com> SVN-Revision: 41310
24 lines
445 B
INI
24 lines
445 B
INI
[rootfs]
|
|
# Volume mode (other option is static)
|
|
mode=ubi
|
|
# Source image
|
|
image=root.squashfs
|
|
# Volume ID in UBI image
|
|
vol_id=0
|
|
# Allow for dynamic resize
|
|
vol_type=dynamic
|
|
# Volume name
|
|
vol_name=rootfs
|
|
[rootfs_data]
|
|
# Volume mode (other option is static)
|
|
mode=ubi
|
|
# Volume ID in UBI image
|
|
vol_id=1
|
|
# Allow for dynamic resize
|
|
vol_type=dynamic
|
|
# Volume name
|
|
vol_name=rootfs_data
|
|
vol_size=1MiB
|
|
# Autoresize volume at first mount
|
|
vol_flags=autoresize
|