Re: kernel image path

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

 



Thanks Valdis. I checked /lib/modules directory. It had a lot of subdirectories - one for each kernel build I guess, each one around 4GB. I have removed some of the older one's with "rm" cmd. I hope it doesn't break grub.

--

Thanks and Regards,

Sumit


On Tuesday 08 May 2018 10:03 AM, valdis.kletnieks@xxxxxx wrote:
On Tue, 08 May 2018 03:12:31 +0530, Sumit Kumar said:
My local kernel repository size has inflated to around 14 GB after
building kernel a few times. I was wondering if it keeps previous images
as well which could be taking a lot of disk space.
Not sure what you mean by "local kernel repository".  The kernel build directory
should use pretty much the same amount of disk each time you build it (unless
you're using O= pointing at a different place each time, in which case it's doing
exactly what you told it to do...)

Note that if you install a lot of kernels, you'll end up with lots of
subdirectories in /lib/modules if you don't clear them out.  Particularly a
problem if you build a kernel a week (like I do) and use a "distro" config that
builds almost everything (I don't do that).



_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]

  Powered by Linux