[cc-ing caiman-discuss again since we are discussing technical stuff now, instead of just coordinating the code integration]
Hi Alex, In the bootroot of the live image (both Live CD and AI, x86 and SPARC), the goal is to have about 10% free space so any files that need to be created/modified during boot time can be successfully created. I am a little bit confused about the algorithm you described below for arriving at that number. Can you explain it in more detail? Thanks, --Karen Alexander Eremin wrote: > Hi Karen, > yes, I used custom pkg list and size for /platform and /kernel was > smaller then for usual ai build, so previous calculation is wrong. > Using current snv125 ai manifest I've got next: > if we must hold all contents of /kernel and /platform uncompressed, > we can calculate size for them using dir_size(): > For snv125 ai bootroot I've got 85mb for/kernel and /platform. > Next we can get size for fiocompressed dirs: > all_bootroot-size - 85mb = 64 > I think this size will not be changed much for different pkg lists, so > for this size we can use overhead=0.9 > Using this calculation I've got a boot_archive with 19mb free space ~= > 10% of all fs in boot_archive. > > I would be glad to hear your opinion. > > Thanks, > Alex >
