From owner-freebsd-questions@FreeBSD.ORG Tue Nov 23 05:10:09 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9502916A4CE for ; Tue, 23 Nov 2004 05:10:09 +0000 (GMT) Received: from mtiwmhc12.worldnet.att.net (mtiwmhc12.worldnet.att.net [204.127.131.116]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0095243D2F for ; Tue, 23 Nov 2004 05:10:07 +0000 (GMT) (envelope-from jayobrien@worldnet.att.net) Received: from [192.168.1.6] (dsl093-180-184.sac1.dsl.speakeasy.net[66.93.180.184]) by worldnet.att.net (mtiwmhc12) with ESMTP id <2004112305095611200mhj3ce> (Authid: jayobrien@att.net); Tue, 23 Nov 2004 05:09:57 +0000 Message-ID: <41A2C60E.20609@att.net> Date: Mon, 22 Nov 2004 21:09:34 -0800 From: Jay O'Brien User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.2) Gecko/20040803 X-Accept-Language: en-us, en MIME-Version: 1.0 To: FreeBSD - questions References: <41A2AA84.1070400@att.net> <20041123044714.GG38638@turingmachine.mentalsiege.net> In-Reply-To: <20041123044714.GG38638@turingmachine.mentalsiege.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Re: Sysinstall - why two different programs in 5.3 RELEASE? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Nov 2004 05:10:09 -0000 Adam Fabian wrote: > On Mon, Nov 22, 2004 at 07:12:04PM -0800, Jay O'Brien wrote: > >>However, the FreeBSD Handbook says to type /stand/sysinstall: >>I find the following files are present: >> >> 403488 Nov 4 17:27 /usr/sbin/sysinstall >>2046148 Nov 4 20:22 /stand/sysinstall >> >>When I invoke these programs, the screens that come up are >>identical, and the functions seem to be the same. >> >>Why are there two versions of sysinstall, one five times the >>size of the other, and what are the differences between them >>other than file size and time? > > > Everything in /stand is statically linked, which means that corrupt > libraries or libraries on an unavailable partition will not affect > their operation. That also means they're larger. This could be > useful if you bring the system up single-user and /usr, on a separate > partition, is corrupt or destroyed. > > afabian@turingmachine /home/afabian $ ldd /stand/sysinstall > ldd: /stand/sysinstall: not a dynamic executable > afabian@turingmachine /home/afabian $ ldd /usr/sbin/sysinstall > /usr/sbin/sysinstall: > libdialog.so.4 => /usr/lib/libdialog.so.4 (0x280b9000) > libncurses.so.5 => /lib/libncurses.so.5 (0x280d2000) > libutil.so.4 => /lib/libutil.so.4 (0x28111000) > libftpio.so.5 => /usr/lib/libftpio.so.5 (0x2811d000) > libc.so.5 => /lib/libc.so.5 (0x2812200 Adam, Thank you very much. That is a very clear explanation, and you exposed me to a new command, ldd. I'll also review the directory structure to better understand "/stand/". There's sure a lot to learn, but how can I go wrong with such a great support staff? Regards, Jay