mirror of
				https://git.openwrt.org/openwrt/openwrt.git
				synced 2025-10-31 14:36:08 +00:00 
			
		
		
		
	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
 |