From owner-freebsd-current@FreeBSD.ORG Fri Nov 21 13:34:19 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 9AD2616A4CE for ; Fri, 21 Nov 2003 13:34:19 -0800 (PST) Received: from magellan.palisadesys.com (magellan.palisadesys.com [192.188.162.211]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4E7EB43FBD for ; Fri, 21 Nov 2003 13:34:17 -0800 (PST) (envelope-from ghelmer@palisadesys.com) Received: from mira (mira.palisadesys.com [192.188.162.116]) (authenticated bits=0)hALLXpvP055270 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO); Fri, 21 Nov 2003 15:33:51 -0600 (CST) (envelope-from ghelmer@palisadesys.com) From: "Guy Helmer" To: Date: Fri, 21 Nov 2003 15:33:51 -0600 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) In-Reply-To: <3FBE5379.10201@acm.org> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Importance: Normal X-Spam-Status: No, hits=0.0 required=5.0 tests=none autolearn=no version=2.60 X-Spam-Checker-Version: SpamAssassin 2.60 (1.212-2003-09-23-exp) on magellan.palisadesys.com 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 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 21:34:19 -0000 Tim Kientzle wrote: > Guy Helmer wrote: > > Thanks to /rescue and the live filesystem archives on > > current.freebsd.org, I was able to recover a machine > > that I hosed after the statfs change by trying to installworld > > without building & booting a new kernel first. > > Great! Any changes you could suggest > to /rescue based on that experience? Sure -- I could have used the ftp client (or fetch) in /rescue :-) (/me ducks) As it was, I downloaded /lib/libc.so.5 from the Nov 10 live filesys on another machine, copied it to a DOS floppy, mounted the floppy on the hosed machine using /rescue/mount_msdos, and used /rescue/cp to copy libc into place. Then I was able to config & rebuild the kernel, reboot, and bring the machine back to life with the statfs changes. > > Regarding the performance loss due to the dynamic /bin and /sbin, > > wouldn't prebinding help? > > Probably. > > Profiling the dynamic-link code would probably > also help. > > NetBSD made this change a long time ago, > and Luke Mewburn observed that switching > /bin to dynamic linking prompted a lot of > people to study and optimize the dynamic > linking code, with big wins for programs > like Mozilla and OpenOffice that rely heavily > on shared libraries. Hmm, sounds like a good challenge. Guy