From owner-freebsd-current@FreeBSD.ORG Fri Aug 17 05:15:24 2007 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8856016A417 for ; Fri, 17 Aug 2007 05:15:24 +0000 (UTC) (envelope-from youshi10@u.washington.edu) Received: from mxout3.cac.washington.edu (mxout3.cac.washington.edu [140.142.32.166]) by mx1.freebsd.org (Postfix) with ESMTP id 6A63B13C461 for ; Fri, 17 Aug 2007 05:15:24 +0000 (UTC) (envelope-from youshi10@u.washington.edu) Received: from smtp.washington.edu (smtp.washington.edu [140.142.32.141] (may be forged)) by mxout3.cac.washington.edu (8.13.7+UW06.06/8.13.7+UW07.06) with ESMTP id l7H5FIrX019951 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 16 Aug 2007 22:15:18 -0700 X-Auth-Received: from [192.168.10.45] (c-24-10-12-194.hsd1.ca.comcast.net [24.10.12.194]) (authenticated authid=youshi10) by smtp.washington.edu (8.13.7+UW06.06/8.13.7+UW07.03) with ESMTP id l7H5FH0C002785 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Thu, 16 Aug 2007 22:15:18 -0700 Message-ID: <46C52EE1.50409@u.washington.edu> Date: Thu, 16 Aug 2007 22:15:13 -0700 From: Garrett Cooper User-Agent: Thunderbird 2.0.0.6 (Windows/20070728) MIME-Version: 1.0 To: d@delphij.net References: <46C51DB3.6080709@delphij.net> In-Reply-To: <46C51DB3.6080709@delphij.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-PMX-Version: 5.3.3.310218, Antispam-Engine: 2.5.1.298604, Antispam-Data: 2007.8.16.214525 X-Uwash-Spam: Gauge=IIIIIII, Probability=7%, Report='__CT 0, __CTE 0, __CT_TEXT_PLAIN 0, __HAS_MSGID 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __SANE_MSGID 0, __USER_AGENT 0' Cc: FreeBSD Current Subject: Re: Why we don't use bzip2 in sysinstall/rescue? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Aug 2007 05:15:24 -0000 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@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