OSDN Git Service

Add support for sparse ext4 image creation.
authorKen Sumrall <ksumrall@android.com>
Fri, 13 Aug 2010 23:04:49 +0000 (16:04 -0700)
committerKen Sumrall <ksumrall@android.com>
Sat, 14 Aug 2010 02:14:22 +0000 (19:14 -0700)
commit75249edab0b22ea9aae9c7278b9f2c196c7d25d4
treef3cafefb2cf2f5c219c6e4d287c7e2032d901aab
parent6bd2b5d80db5630cb73e3e5a4be3b38afa241c5a
Add support for sparse ext4 image creation.

This adds the -s option to the make_ext4fs tool, which now creates
"sparse" filesystem images, which is very useful for the large 32 Gbyte
filesystems we are now building.
This check-in also fixes make_ext4fs to properly create filesystems
larger thatn 4 Gbytes on 64-bit Linux, 32-bit android and Macs.

Change-Id: Ie5838492fcf944f5c875481693c0dbd7013deae4
ext4_utils/Android.mk
ext4_utils/backed_block.c
ext4_utils/ext4_utils.c
ext4_utils/ext4_utils.h
ext4_utils/make_ext4fs.c
ext4_utils/make_ext4fs.h
ext4_utils/make_ext4fs_main.c
ext4_utils/output_file.c
ext4_utils/output_file.h
ext4_utils/simg2img.c [new file with mode: 0644]
ext4_utils/sparse_format.h [new file with mode: 0644]