work directories

John Marino dragonflybsd at marino.st
Sun Dec 4 01:08:56 PST 2011


On 12/4/2011 4:18 AM, Peter Avalos wrote:
On Sat, Dec 03, 2011 at 09:54:37PM -0500, Pierre Abbat wrote:
If I added "/usr/pkgsrc/*/*/work" to daily_clean_tmps_dirs, would that work?

Why not just put this in /usr/pkg/etc/mk.conf:

WRKOBJDIR=/usr/obj/pkgsrc

--Peter


I'd like to second this. (+1)
It won't fix your current issue, but in the future you can delete all 
these directories with a simple "rm -rf /usr/obj/pkgsrc" command.
By the way, putting these workdirs on a hammer partition like /usr/obj 
that doesn't make daily snapshots will also help disk space, especially 
with something like package building.

John






More information about the Users mailing list