[nycbug-talk] pkg_add
Marc Spitzer
mspitzer
Wed Feb 9 16:04:25 EST 2005
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
More information about the talk
mailing list