On 01/08/14 03:10, Didier Wiroth wrote:
> Hello,
> I've been updating my computer from binaries over the years, I'm mostly 
> running current.
> What is the best way to clean/delete old (zombie unused) binary, libraries 
> /etc files ...?
> How are you doing it?
> Thank you very much for your feedback!
> Didier

rm ?

I think your actual question is how do you FIND the files you can delete...

And that...unfortunately, is the difficult question.

IF you do everything The OpenBSD Way...  upgrading the entire system,
using applications only from the OpenBSD package management system, and
upgrading those, it's pretty easy -- look for files that are older than
the most recently installed binaries, remove those.

The problem is...if you have any programs installed through any way
other than OpenBSD ports and packages, you have to make sure those are
upgraded BEFORE removing libraries that might be needed by them.

Generally, I don't do it.  Usually, by the time there's a space problem,
I've upgraded the hardware (you know ... from a 20 year old machine to a
16 year old machine!) or completely reloaded for other reasons.  When
that's not the case, I just go into the directories that have bloated
excessively, find the oldest files, rm them.

Files in the /etc directory are usually too small to worry about.
/usr/lib are usually the ones I go after.

Nick.

Reply via email to