homerun wrote: > Hi > > Now after using whilie OS2008.11 and currently running 2009.06 > Noted that /var/pkg directory is eating over 5G of space. > and of that /var/pkg/download is over 4.5G > > Is that all needed ? > Could pkg(1) have some clean subcommand ?
I suspect /var/pkg/download is the specific directory using so much space, and that is because of the download caching we perform. We already have the following related bugs open for it: 6353 option to put download cache on alternate filesystem 2266 want command-line control over content cache For now, removing the /var/pkg/download directory should help quite a bit. Don't worry; it will be re-created if the pkg system needs it again. You can also change the flush-content-cache-on-success property so that after successful packaging operations, the cache will be purged: pfexec pkg set-property flush-content-cache-on-success True Cheers, -- Shawn Walker
