conf/88383
Florent Thoumie
flz at xbsd.org
Mon Dec 19 03:30:12 PST 2005
The following reply was made to PR conf/88383; it has been noted by GNATS.
From: Florent Thoumie <flz at xbsd.org>
To: bug-followup at freebsd.org
Cc: Frank Laszlo <laszlof at vonostingroup.com>
Subject: Re: conf/88383
Date: Mon, 19 Dec 2005 12:24:45 +0100
--=-1a1EXwkAs1HStI9vuMwo
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable
I'm quite sure the current version of rc.d/ldconfig does what=20
you want.
Try this and you'll see :
# cat >> /root/foo.so.conf
/lib
/usr/lib
^D
# ldconfig /var/empty
# ldconfig -r
# ldconfig /root/foo.so.conf
# ldconfig -r
Look at src/sbin/ldconfig/ldconfig.c and you'll see :
if (S_ISREG(stbuf.st_mode))
rval |=3D dofile(argv[i], 0);
else
add_search_path(argv[i]);
--=20
Florent Thoumie
flz at FreeBSD.org
FreeBSD committer
--=-1a1EXwkAs1HStI9vuMwo
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (FreeBSD)
iD8DBQBDpph8MxEkbVFH3PQRAj6fAJ9Tg7HZ833FhRlpB15N6UVF5ZgO9gCfThyJ
unm3kW/Av8qV7PX8NKEfSIU=
=0ipU
-----END PGP SIGNATURE-----
--=-1a1EXwkAs1HStI9vuMwo--
More information about the freebsd-rc
mailing list