From owner-freebsd-questions@FreeBSD.ORG Thu Apr 10 20:50:39 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 16CA91065671 for ; Thu, 10 Apr 2008 20:50:39 +0000 (UTC) (envelope-from edlinuxguru@gmail.com) Received: from yw-out-2324.google.com (yw-out-2324.google.com [74.125.46.28]) by mx1.freebsd.org (Postfix) with ESMTP id C1CE48FC0C for ; Thu, 10 Apr 2008 20:50:38 +0000 (UTC) (envelope-from edlinuxguru@gmail.com) Received: by yw-out-2324.google.com with SMTP id 2so58704ywt.13 for ; Thu, 10 Apr 2008 13:50:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=u54KBx08yOd337KTZ7Sp4bFo959wylX2ANp+ai1v8Cc=; b=tJJPjIKbpZ/Vbejwr7Ngq1KXyUaQJUETdemXbbzMCngyGMO3LyL89EV7GPAGW3J0MCt2V/EzkspOfSwPKeuB6ycGmJ8wHQlE8C29XLOPu3dcAwmqhKMcbgcVy474TyNmvE2FtnTnLd9OftCVA+TozoovTqJD3P1mWzW7jeteq3c= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=d05xEZ/E1bILtpvSl1L9pDpIg5XDwtf8idlbJhdt38WPF+RRgBpsITftVbV5ZQx/msxzA7nbtDj3KDt54dDmLt+KvMV5WXY3GBYGokgjEhoXQegTxvuB9/0KuRgyCoq8acnLqM4jdiIKhDXDLMES4SePOw3UldBMtIsA7tRuLQc= Received: by 10.142.89.13 with SMTP id m13mr560150wfb.317.1207860631480; Thu, 10 Apr 2008 13:50:31 -0700 (PDT) Received: by 10.142.233.1 with HTTP; Thu, 10 Apr 2008 13:50:31 -0700 (PDT) Message-ID: Date: Thu, 10 Apr 2008 16:50:31 -0400 From: "Edward Capriolo" To: freebsd-questions@freebsd.org In-Reply-To: <1207855812.11735.39.camel@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <1207855812.11735.39.camel@localhost> Subject: Re: 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 20:50:39 -0000 I just wrote to the list about the SAME thing. I totally agree. This is like the saying 'rm' command without arguments will delete every file on your computer. I did the same thing. I wish it was a virtual system I did it to as well :) On Thu, Apr 10, 2008 at 3:30 PM, Shelby Cain wrote: > 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 >