Hi,
I noticed recently that my OpenSolaris install appeared to be consuming quite a
lot of space on-disk in comparison to what I would expect for the s/w installed.
I took a look around, and noticed that the /var/pkg/download directory appeared
to be consuming more than the actual OS itself...
I then did a search for more on this, and found the message:
http://opensolaris.org/jive/thread.jspa?messageID=417562
which gave me that information that you can set a flag:
pkg set-property flush-content-cache-on-success true
which will clean out this cache after a successful install.
This then made me wonder why this isn't on by default? Or why there isn't at
least some sort of limiter on the cache, rather than letting it grow so large.
It also made me think that we really should have a pkg command that allows you
to purge this cache on demand rather than doing a :
rm -rf /var/pkg/download
Certainly apt-get on Linux has this command - apt-get autoclean - to do this
purge, with some degree of knowledge about that is 100% safe to remove.
What do other's think?
Thanks,
Darren.
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss