Randy McMurchy wrote: > LFS Trac wrote these words on 04/12/06 19:07 CST: >> #1657: Chapter 5 Stripping Notes -- need updating to reflect current numbers >> >> Comment (by [EMAIL PROTECTED]): >> >> From my tests, a little over 6 MB is saved from stripping and 19 MB from >> removing info/man/doc files. > > Wow. I see 120mb of cleanup after running my cleaning process on > /tools. But then, I do a bit more cleanup than the book says. To me, > the book only does a partial clean-up, if you want to do it right, > then the removed files are significantly more.
Is 120Mb during chapter 6 worth the effort? In my testing, the high water mark is building glibc in Chapter 6. After that, there is lots of room. My testing, admittedly some time ago, showed a max of about 1.1G of total space used. We put in 1.3G as a minimum with a little cushion. > /usr/bin/find /tools/{{,s,i686-pc-linux-gnu/}bin,libexec} \ > -type f \ > -exec /usr/bin/strip --strip-all {} \; > /usr/bin/find /tools/lib \ > -type f \ > -exec /usr/bin/strip --strip-debug {} \; > > rm -v -rf /tools/{info,man,share/{doc,man}} > rmdir -v /tools/var I cut this down to the essence... Interesting. Is there anything at all in /tools/share that is needed in Chapter 6? -- Bruce -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page