On 9/25/20 10:39 AM, Tim Tassonis via lfs-dev wrote:
Hi all
In 7.14, the book recommends to remove the temporary domumentation, by
rm -rf /usr/share/{info,man,doc}/*
I think the same could be done with the locale files, by
find /usr/share/locale -name "*.mo" -delete
This would save another 70 MB of disk space. I highly doubt anyone would
want to perform chapter 8 in a different language, and after that, they
all got re-installed.
But what would that really save if the files are going to be immediately
replaced in Chapter 8? I suppose that it might save a little space in
the backup tarball if the user is going to create that, but is it a
significant amount of space if it is compressed?
If I were going remove the locale files, I would change:
rm -rf /usr/share/{info,man,doc}/*
to
rm -rf /usr/share/{info,man,doc,locale}/*
I don't have a partial LFS build at the present, but on a more complete
LFS/BLFS system my /usr/share/locale directory tree is 341M, but a
compressed tarball is only 57M for about a 6:1 compression ratio.
I would like to hear the opinion of others.
-- Bruce
--
http://lists.linuxfromscratch.org/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page