Sysinstall - why two different programs in 5.3 RELEASE?

Adam Fabian afabian at austin.rr.com
Mon Nov 22 20:48:35 PST 2004


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 Fabian (afabian at austin.rr.com)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20041122/e8dad43c/attachment.bin


More information about the freebsd-questions mailing list