Date: Mon, 22 Nov 2004 21:09:34 -0800 From: Jay O'Brien <jayobrien@att.net> To: FreeBSD - questions <questions@freebsd.org> Subject: Re: Sysinstall - why two different programs in 5.3 RELEASE? Message-ID: <41A2C60E.20609@att.net> In-Reply-To: <20041123044714.GG38638@turingmachine.mentalsiege.net> References: <41A2AA84.1070400@att.net> <20041123044714.GG38638@turingmachine.mentalsiege.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?41A2C60E.20609>