Cleaning /var/db/ports

Doug Barton dougb at
Tue Mar 25 17:30:20 PDT 2008

Lars Stokholm wrote:
> Apart from doing 'rm -r /var/db/ports/*' is there a way of cleaning the 
> folder of stale folders and files?

Not an automated one, no. It would also be somewhat difficult (although 
not impossible) to write an automated tool to do it because of the loose 
relationship between the names in /var/db/ports and the names in 

You can safely blow this stuff away though. The only inconvenience will 
be that you will have to answer all the OPTIONS dialogs again.



     This .signature sanitized for your protection

More information about the freebsd-ports mailing list