Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Apr 2008 16:50:31 -0400
From:      "Edward Capriolo" <edlinuxguru@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: Invoking ldconfig without arguments wipes all hints and makes me very sad
Message-ID:  <cbbf4b570804101350ndcd4f2kd61f2e80e8597c54@mail.gmail.com>
In-Reply-To: <1207855812.11735.39.camel@localhost>
References:  <1207855812.11735.39.camel@localhost>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <scain@exgenesis.com> 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
>



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