[CentOS] Cleaning up smp kernels

Mon Jul 14 20:30:07 UTC 2008
Jim Perrin <jperrin at gmail.com>

On Mon, Jul 14, 2008 at 4:06 PM, Bowie Bailey <Bowie_Bailey at buc.com> wrote:
> I have used the package-cleanup utility to remove old kernel packages,
> but I noticed that it only removes the 'kernel' and 'kernel-devel'
> packages.  It does not touch 'kernel-smp', 'kernel-hugemem', etc.  What
> is the recommended method of cleaning up these other kernel packages?
> Should I just 'yum remove' the ones I don't need?
>
> Some of my servers have a few piling up...
>

http://linux.duke.edu/~skvidal/useful-scripts/kernel-prune.py

this will generate a list of old kernel bits you don't need. You can
pipe it through rpm -e for cleanup.


-- 
During times of universal deceit, telling the truth becomes a revolutionary act.
George Orwell