From owner-freebsd-questions@FreeBSD.ORG Fri Feb 22 08:19:24 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 0E0EFDD2 for ; Fri, 22 Feb 2013 08:19:24 +0000 (UTC) (envelope-from danny@clari.net.au) Received: from fallbackmx08.syd.optusnet.com.au (fallbackmx08.syd.optusnet.com.au [211.29.132.10]) by mx1.freebsd.org (Postfix) with ESMTP id 55ACEE43 for ; Fri, 22 Feb 2013 08:19:22 +0000 (UTC) Received: from mail36.syd.optusnet.com.au (mail36.syd.optusnet.com.au [211.29.133.76]) by fallbackmx08.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id r1M8JF11021680 for ; Fri, 22 Feb 2013 19:19:15 +1100 Received: from [192.168.100.102] (c114-76-1-137.eburwd4.vic.optusnet.com.au [114.76.1.137]) by mail36.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id r1M8J3Wh024624 for ; Fri, 22 Feb 2013 19:19:05 +1100 Message-ID: <512729F6.10007@clari.net.au> Date: Fri, 22 Feb 2013 19:19:02 +1100 From: "Daniel O'Callaghan" User-Agent: Mozilla/5.0 (Windows NT 6.0; rv:17.0) Gecko/20130215 Thunderbird/17.0.3 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: I made a mess. libc References: <51263091.1080507@bananmonarki.se> <2E4C6324-D93A-46EF-82C4-D7C8F9D06894@my.gd>, <51264295.1040902@bananmonarki.se> <13CA24D6AB415D428143D44749F57D7201EAC464@ltcfiswmsgmb21> <512657E7.90404@bananmonarki.se> <51268D52.5000906@gmail.com> <5126AFC3.8010802@bananmonarki.se> <512705BB.1020801@ShaneWare.Biz> In-Reply-To: <512705BB.1020801@ShaneWare.Biz> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Optus-CM-Score: 0 X-Optus-CM-Analysis: v=2.0 cv=Auu2R5BP c=1 sm=1 a=_WFI8pCH4AAA:10 a=8nJEP1OIZ-IA:10 a=ejE0-8HIAAAA:8 a=ucYbncp4-jQA:10 a=p-XEBO4hddXPUqK3QA4A:9 a=wPNLvfGTeEIA:10 a=+rVrtY7z3DVyADW7HUk29Q==:117 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Feb 2013 08:19:24 -0000 On 22/02/2013 4:44 PM, Shane Ambler wrote: > You missed the earlier suggestion - at the single user prompt for a > shell don't just hit enter - type in /rescue/sh This suggestion was gold for me, but in a different way. I have for years lamented the passing of static binaries in /bin and /sbin. I forget who mentioned that /rescue/* are statically linked - I had never known that. Today I have just built a 5.4-RELEASE jail on a 9.1-STABLE system, and being able to include a statically linked 9.1-STABLE 'ps' is very useful. The 5.4 version of ps is useless in this jail. And just in case the significance is lost on Bernt, /rescue/sh does not rely on libc, so it won't care if libc is broken. Danny