Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Nov 2004 22:47:14 -0600
From:      Adam Fabian <afabian@austin.rr.com>
To:        questions@freebsd.org
Subject:   Re: Sysinstall - why two different programs in 5.3 RELEASE?
Message-ID:  <20041123044714.GG38638@turingmachine.mentalsiege.net>
In-Reply-To: <41A2AA84.1070400@att.net>
References:  <41A2AA84.1070400@att.net>

next in thread | previous in thread | raw e-mail | index | archive | help

--3V7upXqbjpZ4EhLz
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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:
>=20
>  403488 Nov 4 17:27 /usr/sbin/sysinstall
> 2046148 Nov 4 20:22 /stand/sysinstall
>=20
> When I invoke these programs, the screens that come up are=20
> identical, and the functions seem to be the same.=20
>=20
> Why are there two versions of sysinstall, one five times the=20
> size of the other, and what are the differences between them=20
> 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 =3D> /usr/lib/libdialog.so.4 (0x280b9000)
        libncurses.so.5 =3D> /lib/libncurses.so.5 (0x280d2000)
        libutil.so.4 =3D> /lib/libutil.so.4 (0x28111000)
        libftpio.so.5 =3D> /usr/lib/libftpio.so.5 (0x2811d000)
        libc.so.5 =3D> /lib/libc.so.5 (0x2812200
--=20
Adam Fabian (afabian@austin.rr.com)

--3V7upXqbjpZ4EhLz
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (FreeBSD)

iD8DBQFBosDS/9HEzeJgMxwRAnGqAKCUJxPISWnBCcWJoEvmgsQS5lv+OwCgmnRJ
QwhFTOMreyy1sPdg51VMt/M=
=ZiKF
-----END PGP SIGNATURE-----

--3V7upXqbjpZ4EhLz--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041123044714.GG38638>