CVSROOT: /cvs Module name: src Changes by: es...@cvs.openbsd.org 2011/06/20 03:46:23
Modified files: usr.sbin/pkg_add/OpenBSD: Add.pm Delete.pm PkgAdd.pm Replace.pm UpdateSet.pm Log message: in an UpdateSet, match new files with old files based on their sha256. avoid extracting again identical files, leading to less file system churn. put in a few failsafes (size check) for people with fubar'd file systems (hey oga@). The more often you update, the more you gain. Over 6 months, about one out of five files doesn't change. apparently, improves things a lot on slow fs, as said landry@ and sthen@. tested by quite a few people.