This repository has been archived on 2024-07-22. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
svn-openwrt-archive/include
Gabor Juhos 09f182a65c 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>

SVN-Revision: 34412
2012-11-29 17:49:50 +00:00
..
2012-09-14 15:36:41 +00:00
2012-04-26 17:54:03 +00:00
2012-06-05 06:57:51 +00:00
2012-08-13 11:08:13 +00:00
2012-07-28 21:06:59 +00:00
2008-09-02 10:57:51 +00:00
2012-06-04 18:29:29 +00:00
2012-06-18 08:50:26 +00:00
2012-11-13 13:14:59 +00:00