Le Dimanche 4 Mars 2007 04:50, Marc Espie a icrit :
> On Sat, Mar 03, 2007 at 10:43:52PM -0500, Peter wrote:
> > export
> > PKG_PATH=ftp://ftp.openbsd.org/pub/OpenBSD/4.0/packages/i386/ for i
> > in bash \
> >            wget
> > do
> > pkg_add $i
> > done
>
> Don't do that. When you can, don't put pkg_add in a loop, but use
> the whole list of packages you want to add in a single invocation.
>
> pkg_add often needs to build a memory image of which packages it
> knows, and how they relate to one another. Each time you start a new
> pkg_add, you pay that cost. If you use one single invocation, things
> will go ways faster.

Yes, I did notice it was slow.  Thanks for this information.

PM

Reply via email to