Good idea, however did you perhaps consider the use of a sparse-file to keep the tile storage FS on? This would allow it to 'grow' upto 4GB without using unneeded space. Something like: Code: dd if=/dev/zero of=.mappero_image bs=1024 seek=4190208 count=0 This would also save the need for creating a 4GB file THEN copying it to the device.
dd if=/dev/zero of=.mappero_image bs=1024 seek=4190208 count=0