<br><br><div class="gmail_quote">On Thu, Jan 15, 2009 at 8:11 AM, Andriy Gapon <span dir="ltr"><<a href="mailto:avg@icyb.net.ua">avg@icyb.net.ua</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
I am reading pkg_info(1), I see that pkg_info can be executed without<br>
any options/arguments, but the man page doesn't tell what happens in<br>
this case.<br>
<br>
In practice I see that configure.kde3 executes pkg_info in the above<br>
fashion (after printing "Looking for installed modules.") and what I<br>
observe is that pkg_info is examining all package files found in<br>
/var/packages. This takes quite long, obviously:<br>
<br>
<br>
0 61827 28318 0 8 0 5992 2892 wait S+J p5 0:00.12<br>
/usr/sbin/pkg_info<br>
0 62162 61827 0 8 0 3492 1108 wait S+J p5 0:00.00 sh<br>
-c /usr/bin/tar -xp -j -f '/var/packages/All/curl-7.18.0.tbz' '+*'<br>
<br>
I am not sure if this is default behavior of pkg_info or it is somehow<br>
affected by environment. I run portupgrade -p and also have PACKAGES set<br>
to /var/packages.<br>
<font color="#888888"><br>
--<br>
Andriy Gapon<br>
_______________________________________________<br>
<a href="mailto:freebsd-ports@freebsd.org">freebsd-ports@freebsd.org</a> mailing list<br>
<a href="http://lists.freebsd.org/mailman/listinfo/freebsd-ports" target="_blank">http://lists.freebsd.org/mailman/listinfo/freebsd-ports</a><br>
To unsubscribe, send any mail to "<a href="mailto:freebsd-ports-unsubscribe@freebsd.org">freebsd-ports-unsubscribe@freebsd.org</a>"</font></blockquote><div><br>pkg_info run without args is the default way to run pkg_info it just prints out all packages/ports installed <br>
</div></div><br>