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

Garrett Cooper youshi10 at u.washington.edu
Thu Aug 16 22:15:24 PDT 2007


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)

-Garrett


More information about the freebsd-current mailing list