From owner-freebsd-current@FreeBSD.ORG Sun Nov 16 15:11:43 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 2EED816A4CE for ; Sun, 16 Nov 2003 15:11:43 -0800 (PST) Received: from mail.yazzy.org (yazzy.org [217.8.140.3]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9CBFA43F93 for ; Sun, 16 Nov 2003 15:11:41 -0800 (PST) (envelope-from masta@wifibsd.org) Received: from localhost (localhost [127.0.0.1]) by mail.yazzy.org (Postfix) with ESMTP id 0D7F239819; Mon, 17 Nov 2003 00:11:37 +0100 (CET) Received: from mail.yazzy.org ([127.0.0.1]) by localhost (urukhai.yazzy.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 00137-06; Mon, 17 Nov 2003 00:11:05 +0100 (CET) Received: from wifibsd.org (localhost [127.0.0.1]) by mail.yazzy.org (Postfix) with SMTP id AD1BB3980F; Mon, 17 Nov 2003 00:11:03 +0100 (CET) Received: from c-24-0-61-35.client.comcast.net ([24.0.61.35]) (SquirrelMail authenticated user masta@wifibsd.org) by mail.yazzy.org with HTTP; Sun, 16 Nov 2003 17:11:03 -0600 (CST) Message-ID: <62456.24.0.61.35.1069024263.squirrel@mail.yazzy.org> Date: Sun, 16 Nov 2003 17:11:03 -0600 (CST) From: "masta" To: X-Priority: 3 Importance: Normal X-Mailer: SquirrelMail (version 1.2.11) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit 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: masta@wifibsd.org List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Nov 2003 23:11:43 -0000 Hi Darren Pilgrim wrote: > > What was done to programs like /bin/sh, /sbin/init and /sbin/fsck to > make them work without access to /usr/lib? All the libs required for /bin or /sbin have moved to /lib. Like this: > cd /bin > file sh sh: ELF 64-bit MSB executable, SPARC V9, version 1 (FreeBSD), for FreeBSD 5.0.1, dynamically linked (uses shared libs), stripped > ldd sh sh: libedit.so.4 => /lib/libedit.so.4 (0x40348000) libncurses.so.5 => /lib/libncurses.so.5 (0x40462000) libc.so.5 => /lib/libc.so.5 (0x405c4000) Notice that sh is dynamicly linked to stuff in /lib. __ __ _ | \/ | __ _ ___| |_ __ _ | |\/| |/ _` / __| __/ _` | | | | | (_| \__ \ || (_| | |_| |_|\__,_|___/\__\__,_| unzip ; strip ; touch ; finger ; mount ; fsck ; more ; yes ; umount ; sleep masta@wifibsd.org http://wifibsd.org