From owner-freebsd-current@FreeBSD.ORG Sat Apr 28 10:03: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 B5CC7106564A; Sat, 28 Apr 2012 10:03:29 +0000 (UTC) (envelope-from rb@gid.co.uk) Received: from mx0.gid.co.uk (mx0.gid.co.uk [194.32.164.250]) by mx1.freebsd.org (Postfix) with ESMTP id 4EECB8FC17; Sat, 28 Apr 2012 10:03:29 +0000 (UTC) Received: from rbpbp.gid.co.uk (80-46-130-69.static.dsl.as9105.com [80.46.130.69]) by mx0.gid.co.uk (8.14.2/8.14.2) with ESMTP id q3SA3MA0052622; Sat, 28 Apr 2012 11:03:22 +0100 (BST) (envelope-from rb@gid.co.uk) Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii From: Bob Bishop In-Reply-To: <20120428031212.GE80419@dragon.NUXI.org> Date: Sat, 28 Apr 2012 11:03:17 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: References: <20120426093548.GR2358@deviant.kiev.zoral.com.ua> <5BCE2E77-2B45-43B7-AB1F-6E6C13B87B34@gid.co.uk> <20120428031212.GE80419@dragon.NUXI.org> To: obrien@freebsd.org X-Mailer: Apple Mail (2.1084) 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 10:03:29 -0000 Hi, On 28 Apr 2012, at 04:12, David O'Brien wrote: > 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. 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. -- Bob Bishop rb@gid.co.uk