[NTLUG:Discuss] Disk cleanup

Rev. wRy slot0k at pogox.org
Sun Dec 23 23:21:03 CST 2007


rpm -e <kernel.you.want.to.delete.>

will get rid of the grub entries as well.


On Sun, Dec 23, 2007 at 11:13:39PM -0600, Leroy Tennison wrote:
> My disk is filling up (surprise, surprise) and I'm looking to clean up 
> two known issues: yum "leftovers" and too many versions of the kernel (I 
> only have nine of them).  However, when I look at 'man yum' the 'clean' 
> option seems to be an all-or-nothing proposition.  I was hoping for 
> something like "clean all but the last update".  I also know that I can 
> just delete old kernel variants and edit grub.conf/menu.lst but that 
> doesn't deal with all the files under /lib/modules.
> 
> Is there an easy, safe way to accomplish these tasks?
> 
> _______________________________________________
> http://www.ntlug.org/mailman/listinfo/discuss



More information about the Discuss mailing list