diff options
author | juhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2012-11-29 17:49:50 +0000 |
---|---|---|
committer | juhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2012-11-29 17:49:50 +0000 |
commit | 518938eefbfdca419c31b711257b4c397ebb8556 (patch) | |
tree | df417aa470efd3a1afea60af18b12e90c62ff620 /target/linux/brcm63xx/profiles/100-Broadcom.mk | |
parent | c1646179c70c96832acaa021a1dea9ecce0ad08f (diff) | |
download | openwrt-518938eefbfdca419c31b711257b4c397ebb8556.tar.gz openwrt-518938eefbfdca419c31b711257b4c397ebb8556.zip |
AA: build: Add TARGET_ROOTFS_RESERVED_PCT option to reduce wasted space
Backport of r34408.
The genext2fs tool will 'reserve' 5% of the image size by default,
apparently by creating a huge lost+found directory. In fact it seemed to
be much more than 5% in practice — I saw an image with 8MiB used, and
recovered about 2MiB of it by deleting the 'empty' lost+found directory:
/dev/loop0 48377 8482 37438 19% /mnt/spare
# rmdir lost+found/
/dev/loop0 48377 6014 39906 14% /mnt/spare
This makes it configurable, but leaves it at the genext2fs default
of 5% for now. It should probably be changed to default to zero, but
that can be a separate patch.
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@34412 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/brcm63xx/profiles/100-Broadcom.mk')
0 files changed, 0 insertions, 0 deletions