From owner-freebsd-current@FreeBSD.ORG Sat Apr 28 16:59:29 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7FAD21065672; Sat, 28 Apr 2012 16:59:29 +0000 (UTC) (envelope-from tim@kientzle.com) Received: from monday.kientzle.com (99-115-135-74.uvs.sntcca.sbcglobal.net [99.115.135.74]) by mx1.freebsd.org (Postfix) with ESMTP id F1A518FC18; Sat, 28 Apr 2012 16:59:28 +0000 (UTC) Received: (from root@localhost) by monday.kientzle.com (8.14.4/8.14.4) id q3SGxLHh093654; Sat, 28 Apr 2012 16:59:21 GMT (envelope-from tim@kientzle.com) Received: from [192.168.2.143] (CiscoE3000 [192.168.1.65]) by kientzle.com with SMTP id 5jkbja5wwf73r79eaizc9jey9i; Sat, 28 Apr 2012 16:59:21 +0000 (UTC) (envelope-from tim@kientzle.com) Mime-Version: 1.0 (Apple Message framework v1257) Content-Type: text/plain; charset=us-ascii From: Tim Kientzle In-Reply-To: Date: Sat, 28 Apr 2012 09:59:20 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: <225B99F7-00C7-4C1B-B2EF-8FE7F15A9F1F@kientzle.com> References: <20120426093548.GR2358@deviant.kiev.zoral.com.ua> <5BCE2E77-2B45-43B7-AB1F-6E6C13B87B34@gid.co.uk> <20120428031212.GE80419@dragon.NUXI.org> To: Bob Bishop X-Mailer: Apple Mail (2.1257) Cc: Konstantin Belousov , toolchain@freebsd.org, freebsd-current@freebsd.org Subject: Re: [RFC] Un-staticise the toolchain 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: Sat, 28 Apr 2012 16:59:29 -0000 On Apr 28, 2012, at 3:03 AM, Bob Bishop wrote: >=20 > On 28 Apr 2012, at 04:12, David O'Brien wrote: >=20 >> On Thu, Apr 26, 2012 at 12:38:03PM +0100, Bob Bishop wrote: >>>> Apparently, current dependencies are much more spread, e.g. /bin/sh >>>> is dynamically linked [etc] >>>=20 >>> That seems like a bad mistake, because it would prevent even booting >>> single-user if rtld/libraries are broken. >>=20 >> When one enters single user they are prompted for which shell to use. >> If /bin/sh is broken due to being dynamic, '/rescue/sh' will likely = still >> work. >=20 > Yes. You to have a statically linked /rescue/sh on board, so what's = the point of /bin/sh being dynamic? The memory footprint really isn't an = issue, and for my money the default shell ought to be bombproof. By "default shell", I think you mean "the shell loaded by default in single user mode". That shell could be /rescue/sh. Single-user recovery does not require /bin/sh being static. Tim