[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: regards the /



Am Donnerstag, 22. September 2011 schrieb Camaleón:
> On Thu, 22 Sep 2011 11:50:54 +0800, lina wrote:
> > On Thu, Sep 22, 2011 at 1:34 AM, Camaleón <noelamac@gmail.com> wrote:
> >> Hmm... you "/lib" seems a bit bloated (mine is 94 MiB), I would look
> >> inside it:
> >> 
> >> du -h /lib | grep "[0-9]M" | sort -n -r | less
> >> 
> >> 330M    /lib
> > 
> > 311M    /lib/modules
> > 
> > got several kernels here.
> > 
> > linux-headers-2.6-amd64                install
> > linux-headers-2.6.32-5-common            install
> > linux-headers-2.6.38-2-amd64            install
> > linux-headers-2.6.38-2-common            install
[...]
> > after purging, only took
> > 
> > # du -sh /lib
> > 128M    /lib
> > 
> > Thanks for your help. It's done.
> 
> Hum... I hope those files are not going to be used anymore by your
> system. By the way, they're not kernels, but "kernel headers", mainly
> needed for compiling things but dunno what were they doing under "/lib/
> modules" :-?

Maybe kernels are still installed as well.

Lina, what does

dpkg -l | grep linux-

or

ls -lh /boot/{vm,init}*

show?

Removing packages for older, not used kernels will save some diskspace as 
well.

-- 
Martin 'Helios' Steigerwald - http://www.Lichtvoll.de
GPG: 03B0 0D6C 0040 0710 4AFA  B82F 991B EAAC A599 84C7


Reply to: