From owner-freebsd-current@FreeBSD.ORG Thu Nov 20 18:40:27 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2B21C16A4E4 for ; Thu, 20 Nov 2003 18:40:27 -0800 (PST) Received: from firecrest.mail.pas.earthlink.net (firecrest.mail.pas.earthlink.net [207.217.121.247]) by mx1.FreeBSD.org (Postfix) with ESMTP id D394443FE5 for ; Thu, 20 Nov 2003 18:40:25 -0800 (PST) (envelope-from richardcoleman@mindspring.com) Received: from titan.criticalmagic.com ([68.213.16.23] helo=mindspring.com) by firecrest.mail.pas.earthlink.net with asmtp (Exim 3.33 #1) id 1AN1DR-00063Y-00; Thu, 20 Nov 2003 18:40:13 -0800 Message-ID: <3FBD7B11.80109@mindspring.com> Date: Thu, 20 Nov 2003 21:40:17 -0500 From: Richard Coleman Organization: Critical Magic, Inc. User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5) Gecko/20031007 X-Accept-Language: en-us, en MIME-Version: 1.0 To: kientzle@acm.org References: <200311171726.hAHHQ0Mj028252@tower.berklix.org> <3FBD5CCE.40905@acm.org> In-Reply-To: <3FBD5CCE.40905@acm.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-ELNK-Trace: 1ee258965991efcb0865379cdb43356e5e89bb4777695beb702e37df12b9c9ef934e4993334dd3345b195fe1abcf6edd350badd9bab72f9c350badd9bab72f9c cc: bv@wjv.com cc: Julian Stacey cc: freebsd-current@freebsd.org Subject: Re: HEADS UP: /bin and /sbin are now dynamically linked X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: richardcoleman@mindspring.com List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Nov 2003 02:40:27 -0000 Tim Kientzle wrote: > I'm pretty comfortable with the failsafes that we > have in place: > * /sbin/init is static > * If /bin/sh fails, /rescue/sh can be run > * /rescue provides a complete set of statically-linked > sysadmin utilities that should be sufficient > for recovering a damaged system. > > There are a few things I'd like to see: > * It would be nice if the kernel noticed that /sbin/init > failed too quickly and prompted the user for an alternate > init. That would open the door to a dynamic or just more > ambitious /sbin/init, since you could always fall back > to /rescue/init for recovery. > * /rescue/vi is currently unusable if /usr is missing because > the termcap database is in /usr. One possibility > would be to build a couple of default termcap entries > into ncurses or into vi. Just put a tiny termcap file in /rescue (i.e. termcap.rescue) that contains 5 or 6 of the most common terminal types (cons25, vt102, etc), and have /rescue/vi default to cons25. That is cleaner than hard coding them into /rescue/vi. Richard Coleman richardcoleman@mindspring.com