On Mon, Mar 23, 2009 at 01:00:41PM -0500, Shawn Walker wrote:

> One thing I think we'll need to address soon is automated pruning of older 
> manifests.  I have a system that I've been upgrading since build 86; 
> /var/pkg/pkg is now 711M as of build 110.
>
> My thought was that we could change the client to remove all manifests for 
> a package except the one that was just installed in pkgplan:postexecute().

That's way too aggressive.  We need to have manifests for all installed
packages.

Note, though, that as we currently have the datasets laid out, deleting old
manifests won't actually save any space, as the blocks will still be
allocated for the old BEs.  In fact, disk usage will increase slightly, to
record the fact that the files are no longer available in newer snapshots.
We'll have to delete old BEs for metadata pruning to be useful, or put the
metadata into a dataset which is shared among BEs.

Danek
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to