From: <sko...@up...> - 2004-02-14 17:33:35
|
>>A tar.gz of all files in the rootfs is about 160MB at the moment. > > why not using tar.bz2 ? bz2 is so much better (and slower :D ) The computer that compiles everything (it takes some hours to compile a complete system out of a gentoo stage1 tarball) is slow. So i always generate a tar.gz to copy it to my UML test-system. >>bzip2-compressed rootfs might be >160MB due to filesystem overhead. > > i would recommed "zero`ing out" the unused blocks in the filesystem after > installation (dd if=/dev/zero of=/tmpfile.dat , rm /tmpfile.dat), otherwise you > would compress all unlinked/unreferenced crap, which still phyiscally exists in > the filesystem after installation. i think this should save at least some > megabytes (depends on how much temporary files gentoo creates during installation) The system is compiled and prepared in a chroot environment. So i always can create a fresh new clean filesystem but with reiserfs for example, you also have the journal that causes some overhead. |