Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Jan 2002 16:48:30 -0500
From:      Chris Faulhaber <jedgar@fxp.org>
To:        Steven Farmer <steve@megahack.com>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: Should /sbin/mount_smbfs be static?
Message-ID:  <20020111214829.GA1489@peitho.fxp.org>
In-Reply-To: <15423.22138.622826.566389@catbert.megahack.com>
References:  <15423.22138.622826.566389@catbert.megahack.com>

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

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

On Fri, Jan 11, 2002 at 03:17:46PM -0600, Steven Farmer wrote:
> Is it ok for /sbin/mount_smbfs to be dynamically linked?  Just
> wondering, since I noticed that it's the only thing /sbin that is:
>=20
> [catbert] ~> uname -a
> FreeBSD catbert.megahack.com 4.5-RC FreeBSD 4.5-RC #0: Fri Jan 11 12:32:2=
2 CST 2002     steve@catbert.megahack.com:/usr/obj/usr/src/sys/CATBERT  i386
> [catbert] ~> file /sbin/mount_smbfs
> /sbin/mount_smbfs: ELF 32-bit LSB executable, Intel 80386, version 1 (Fre=
eBSD), dynamically linked (uses shared libs), stripped
> [catbert] ~> ldd /sbin/mount_smbfs
> /sbin/mount_smbfs:
> 	libsmb.so.1 =3D> /usr/lib/libsmb.so.1 (0x28066000)
> 	libc.so.4 =3D> /usr/lib/libc.so.4 (0x28071000)
>=20

Have you looked at src/sbin/mount_smbfs/Makefile?  In particular:

# Needs to be dynamically linked for optional dlopen() access to
# userland libiconv (see the -E option).
#
NOSHARED?=3D	NO

--=20
Chris D. Faulhaber - jedgar@fxp.org - jedgar@FreeBSD.org
--------------------------------------------------------
FreeBSD: The Power To Serve   -   http://www.FreeBSD.org

--bp/iNruPH9dso1Pn
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (FreeBSD)
Comment: FreeBSD: The Power To Serve

iEYEARECAAYFAjw/Xa0ACgkQObaG4P6BelCOvQCeKsR99Qu7+bklg30L/f+CpkP/
2TcAoKSF7Jqb0tayQwK+2TR13ldq2fDo
=IFRU
-----END PGP SIGNATURE-----

--bp/iNruPH9dso1Pn--

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




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