Sysinstall - why two different programs in 5.3 RELEASE?
Jay O'Brien
jayobrien at att.net
Mon Nov 22 21:10:09 PST 2004
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 at turingmachine /home/afabian $ ldd /stand/sysinstall
> ldd: /stand/sysinstall: not a dynamic executable
> afabian at 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
More information about the freebsd-questions
mailing list