From owner-freebsd-questions@FreeBSD.ORG Sun Dec 26 16:13:49 2010 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 5C6D4106564A for ; Sun, 26 Dec 2010 16:13:49 +0000 (UTC) (envelope-from xaero@xaerolimit.net) Received: from mail-ey0-f182.google.com (mail-ey0-f182.google.com [209.85.215.182]) by mx1.freebsd.org (Postfix) with ESMTP id EF09E8FC0C for ; Sun, 26 Dec 2010 16:13:48 +0000 (UTC) Received: by eyf6 with SMTP id 6so3909421eyf.13 for ; Sun, 26 Dec 2010 08:13:47 -0800 (PST) Received: by 10.213.15.146 with SMTP id k18mr3397439eba.38.1293380027768; Sun, 26 Dec 2010 08:13:47 -0800 (PST) MIME-Version: 1.0 Received: by 10.213.112.145 with HTTP; Sun, 26 Dec 2010 08:13:27 -0800 (PST) In-Reply-To: <4D176249.1000609@telting.org> References: <4D176249.1000609@telting.org> From: Chris Brennan Date: Sun, 26 Dec 2010 11:13:27 -0500 Message-ID: To: Chris Telting Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: pkg_info and an active /usr/ports is slow 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: Sun, 26 Dec 2010 16:13:49 -0000 On Sun, Dec 26, 2010 at 10:42 AM, Chris Telting wrote: > Just wondering about the interaction of pkg_info (no args) and having a > ports directory. > > Without it it's blazing fast, with it it is just slow and sometimes just > breaks during the listing. > > There is nothing in the man page about it reading the ports directory or > why it would want or need to. > > Most importantly there is no command line option to skip it. > > > Thanks Chris > IIRC pkg_* checks a database that tools such as portupgrade utilize and this could slow things down. But I am not 100% sure. C-