1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2025-01-26 02:31:05 +02:00
juhosg f80deda3fe build: Add TARGET_ROOTFS_RESERVED_PCT option to reduce wasted space
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/trunk@34408 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-29 17:37:15 +00:00
..
2012-04-26 17:54:03 +00:00
2012-08-13 11:08:13 +00:00
2012-11-18 21:18:37 +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