[nycbug-talk] pkg_add

swygue swygue
Wed Feb 9 20:32:46 EST 2005


> ---------- Forwarded message ----------
> From: Marc Spitzer <mspitzer at gmail.com>
> To: talk at lists.nycbug.org
> Date: Wed, 9 Feb 2005 16:04:25 -0500
> Subject: Re: [nycbug-talk] pkg_add
> If this is netbsd then "man pkg_add", here are the key bits;
> 
>     PKG_TMPDIR  Staging directory for installing packages, defaults to
>                 /var/tmp.  Set to directory with lots of free disk if you run
>                 out of space when installing a binary package.
> 
> now before that in the   options/switches section;
> 
>      -t template
>              Use template as the input to mktemp(3) when creating a ``staging
>              area.''  By default, this is the string /var/tmp/instmp.XXXXXX,
>              but it may be necessary to override it in the situation where
>              space in your /var/tmp directory is limited.  Be sure to leave
>              some number of `X' characters for mktemp(3) to fill in with a
>              unique ID.
> 
>              You can get a performance boost by setting the staging area
>              template to reside on the same disk partition as target directo-
>              ries for package file installation; often this is /usr.
> 
> freebsd 5.3 is similar in content,  reading the fine manual is useful.
> 
> marc

I read the manual, but don't understand what I should do.




More information about the talk mailing list