Rainer Müller raimue at
Fri Dec 23 03:28:55 PST 2011

On 12/23/2011 11:36 AM, Jeremy Lavergne wrote:
 > On 12/23/2011 11:26 AM, Ryan Schmidt wrote:
>> On my system this process seems to take 45 seconds. This adds up,
>> as I typically uninstall multiple ports daily, in the course of
>> testing and upgrading ports. If the purpose of vacuuming is just to
>> save space in the registry, would it be feasible to only vacuum
>> sometimes, e.g. after say 10 ports have been uninstalled? Or
>> possibly time-based, e.g. if the registry has not been vacuumed in>
>> 24 hours? My registry is 162MB; I think keeping a few extra
>> unvacuumed entries in there temporarily won't increase that
>> significantly.

Yes, the idea is to reclaim disk space as the database file does not 
shrink automatically.

> Is it per deactivate command or per port deactivated?

It runs once per invocation of the port command just before it exits.


More information about the macports-dev mailing list