Other Stuff

UoM::RCS::Talby


Page Contents:


Page Group:

2010:

2009: 2008:


Related Pages:





Solaris Patch Rollback and /var/sadm Diskpace Usage

The Solaris patch/package system saves old versions of files under /var/sadm/pkg/<package>/save so that patches can be rolled back if required. Presumably this practice dates back to the days of yore before a rollback simply mean downloading the previous verion's .dpkg or .rpm and reinstalling that (in preference to the newer version).

Short of diskspace under /var? Delete the saved files for those patches which are well tested and/or bedded in, e.g., those a year old or more:

  find /var/sadm/pkg/*/save/??????-?? -type d -mtime +365 -prune | xargs -i{} rm -rf {}