Re: Why we don't use bzip2 in sysinstall/rescue?

From: LI Xin <delphij_at_delphij.net>
Date: Fri, 17 Aug 2007 13:29:31 +0800
Garrett Cooper wrote:
> LI Xin wrote:
>> Hi,
>>
>> Is there a reason behind this?  (i.e. do we have some interest of
>> related work?)
>>
>> Cheers,
>>   
> My guess is that:
> 
> 1. It's dynamically linked (IIRC only statically linked apps were
> allowed in rescue).
> 2. It's dynamically linked to a lib that exists in /usr (and /usr is on
> a commonly located on a separate partition, whereas /rescue isn't).
> 
> [root_at_optimus-vm-7 ~]# ldd `which bzip2`
> /usr/bin/bzip2:
>        libbz2.so.2 => /usr/lib/libbz2.so.2 (0x800639000)
>        libc.so.7 => /lib/libc.so.7 (0x800748000)

My fault, bzip2 is included in rescue...

As a side note.  For networked installation, using bzip2 would reduce
traffic by ~11%.

Cheers,
-- 
Xin LI <delphij_at_delphij.net>	http://www.delphij.net/
FreeBSD - The Power to Serve!


Received on Fri Aug 17 2007 - 03:30:14 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:16 UTC