mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-23 15:32:33 +00:00
aa5b5153f9
This could be used on NAND devices once we get UBI working. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 42938
25 lines
446 B
INI
25 lines
446 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
|
|
# Autoresize volume at first mount
|
|
vol_flags=autoresize
|
|
vol_size=1MiB
|