On Tue, 2009-09-29 at 08:45 +0100, Darren Kenny wrote: > 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?
>From my practice this increases install time if you install many packages (for example using DC) > 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. +1 > What do other's think? > > Thanks, > > Darren. > _______________________________________________ > pkg-discuss mailing list > [email protected] > http://mail.opensolaris.org/mailman/listinfo/pkg-discuss -- Cheers, ::alhazred _______________________________________________ pkg-discuss mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/pkg-discuss
