Date: Sun, 26 Dec 2010 11:13:27 -0500 From: Chris Brennan <xaero@xaerolimit.net> To: Chris Telting <christopher-ml@telting.org> Cc: freebsd-questions@freebsd.org Subject: Re: pkg_info and an active /usr/ports is slow Message-ID: <AANLkTi=T6jFZrJmBw039emfsTB0DXjsw=tjhn_4%2BcORJ@mail.gmail.com> In-Reply-To: <4D176249.1000609@telting.org> References: <4D176249.1000609@telting.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Dec 26, 2010 at 10:42 AM, Chris Telting <christopher-ml@telting.org>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-
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTi=T6jFZrJmBw039emfsTB0DXjsw=tjhn_4%2BcORJ>