From owner-freebsd-current@FreeBSD.ORG Sun Nov 16 09:08:47 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 0491216A4CF for ; Sun, 16 Nov 2003 09:08:47 -0800 (PST) Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 07EF843F85 for ; Sun, 16 Nov 2003 09:08:46 -0800 (PST) (envelope-from robert@fledge.watson.org) Received: from fledge.watson.org (localhost [127.0.0.1]) by fledge.watson.org (8.12.9p2/8.12.9) with ESMTP id hAGH6jMg050372; Sun, 16 Nov 2003 12:06:45 -0500 (EST) (envelope-from robert@fledge.watson.org) Received: from localhost (robert@localhost)hAGH6aHa050369; Sun, 16 Nov 2003 12:06:36 -0500 (EST) (envelope-from robert@fledge.watson.org) Date: Sun, 16 Nov 2003 12:06:36 -0500 (EST) From: Robert Watson X-Sender: robert@fledge.watson.org To: Richard Coleman In-Reply-To: <3FB7A44C.1000002@mindspring.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: "Robert M.Zigweid" cc: 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: Sun, 16 Nov 2003 17:08:47 -0000 On Sun, 16 Nov 2003, Richard Coleman wrote: > Robert M.Zigweid wrote: > > I'll admit to being mostly a lurker here, but isn't the point of /sbin > > to be statically linked. That's what the 's' stands for? > > > > Second question. This seems to imply that /sbin and /bin both have to > > have the same behavior? I have no problem with /bin being dynamically > > linked, but what if I want /bin to be dynamic and /sbin static? > > I'm not sure what that would accomplish. If a system was broken such > that the dynamically linked binaries in /bin didn't work, the utilities > in /sbin wouldn't be enough to fix the system. For instance, you > wouldn't have a shell or "ls". And these problems are best fixed through the new /rescue tree. I was pleasantly surprised to find that the net space consumed by 5.0-CURRENT in / for /stand, /sbin, and /bin was substantially larger in the statically linked world than the space required for / with /rescue, /sbin, and /bin in the dynamically linked world. I.e., I can now update boxes installed with smaller root file systems from earlier 4.x releases without running out of space, whereas before I would run out of space. Robert N M Watson FreeBSD Core Team, TrustedBSD Projects robert@fledge.watson.org Network Associates Laboratories