From owner-freebsd-questions@FreeBSD.ORG Thu Apr 10 19:42:49 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4BDDB106566C for ; Thu, 10 Apr 2008 19:42:49 +0000 (UTC) (envelope-from scain@exgenesis.com) Received: from mout.perfora.net (mout.perfora.net [74.208.4.195]) by mx1.freebsd.org (Postfix) with ESMTP id 176498FC1D for ; Thu, 10 Apr 2008 19:42:49 +0000 (UTC) (envelope-from scain@exgenesis.com) Received: from [192.168.13.10] (adsl-70-250-185-25.dsl.rcsntx.swbell.net [70.250.185.25]) by mrelay.perfora.net (node=mrus0) with ESMTP (Nemesis) id 0MKp8S-1Jk2TN3WwO-0005gK; Thu, 10 Apr 2008 15:30:15 -0400 From: Shelby Cain To: freebsd-questions@freebsd.org Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-lz3eYEOa4ToDpJZHsEXH" Date: Thu, 10 Apr 2008 14:30:12 -0500 Message-Id: <1207855812.11735.39.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.12.1 X-Provags-ID: V01U2FsdGVkX1/0nSEzHAyzgy4sdlIrETUk5lsdxQBIpki/kmU lM4AZ0Pt6UZR0XELtRepmop6+GB7/DBRPDVU+vU3D1jvnLJOUM UICVq+h9IJ6/kRi7Fz/e6NPyPBqUS4l Subject: Invoking ldconfig without arguments wipes all hints and makes me very sad X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Apr 2008 19:42:49 -0000 --=-lz3eYEOa4ToDpJZHsEXH Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Greetings list. I'm a new user to FreeBSD and I just managed to introduce myself to ldconfig's default behavior. I'm currently locked out of my remote server since bash isn't statically compiled and will have to get physical access to correct my blunder. :( As a new user to FreeBSD, ldconfig's default behavior makes about as much sense to me as rm adding "-fr ~" or kill adding "-9 1" in the absence of arguments. I hate to sound ignorant but I have to ask, is there any particular reason FreeBSD's ldconfig defaults to this seemingly unintuitive and non-newbie-safe behavior? Would a patch that changes the behavior of ldconfig to assume -r in the absence of command line arguments and adds a new parameter like -e[rase]|-d[estroy]|-w[ipe]|-z[ap]|-l[olnewbie] to enable the original behavior be likely to gain any acceptance? Regards, Shelby Cain --=-lz3eYEOa4ToDpJZHsEXH Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQBH/mrEFioAnfS4MHQRAhdtAJ9XBoQIDGEMhVAFU7+rdj5fyAMhnQCcC19O g1hr6t9RZ3U9odTnA0A5I9U= =RpYf -----END PGP SIGNATURE----- --=-lz3eYEOa4ToDpJZHsEXH--