shrinking /usr/lib/locale
Jakub Jelinek
jakub@redhat.com
Tue Jun 5 06:48:00 GMT 2001
On Tue, Jun 05, 2001 at 03:28:32PM +0200, Bruno Haible wrote:
>
> Hi,
>
> The entire /usr/lib/locale hierarchy currently takes up 42.6 MB on disk.
> But many of the files are identical, and using hard links for those files
> that are equal can reduce this to 14.6 MB. The script I used is the
> following:
We used similar scripts initially, but after we added all locales in UTF-8
this took eons, so ATM we're using a program for this (attached below).
Doing this in localedef will have advantage of not requiring free space to
hold non-hardlinked /usr/lib/locale hierarchy which will be shrinked later
on, on the other side it could be tiny bit slower (if there are locale
definitions with the same size but different content).
Jakub
More information about the Libc-alpha
mailing list