I am on Linux Mint KDE 18.3 and after every Kernel update I lose about 500MB of memory in root partition. I thought that is very strange and also that, If things keep going like this, I will consume all memory in a few Kernel updates...
However, I watched
/usr/src/
content and this is what I find out:
Code: Select all
$ ls -l /usr/src/
totale 204
drwxr-xr-x 2 root root 4096 nov 12 2016 bbswitch-0.8
drwxr-xr-x 27 root root 4096 dic 16 22:32 linux-headers-4.10.0-38
drwxr-xr-x 7 root root 4096 dic 16 22:32 linux-headers-4.10.0-38-generic
drwxr-xr-x 27 root root 4096 dic 17 00:16 linux-headers-4.10.0-42
drwxr-xr-x 7 root root 4096 dic 17 00:16 linux-headers-4.10.0-42-generic
drwxr-xr-x 27 root root 4096 gen 15 00:50 linux-headers-4.13.0-26
drwxr-xr-x 7 root root 4096 gen 15 00:51 linux-headers-4.13.0-26-generic
drwxr-xr-x 27 root root 4096 gen 26 00:31 linux-headers-4.13.0-31
drwxr-xr-x 7 root root 4096 gen 26 00:31 linux-headers-4.13.0-31-generic
drwxr-xr-x 27 root root 4096 gen 28 23:59 linux-headers-4.13.0-32
drwxr-xr-x 7 root root 4096 gen 28 23:59 linux-headers-4.13.0-32-generic
drwxr-xr-x 27 root root 4096 feb 26 16:57 linux-headers-4.13.0-36
drwxr-xr-x 7 root root 4096 feb 26 16:57 linux-headers-4.13.0-36-generic
drwxr-xr-x 27 root root 4096 mar 19 00:15 linux-headers-4.13.0-37
drwxr-xr-x 7 root root 4096 mar 19 00:15 linux-headers-4.13.0-37-generic
drwxr-xr-x 27 root root 4096 apr 5 17:06 linux-headers-4.13.0-38
drwxr-xr-x 7 root root 4096 apr 5 17:06 linux-headers-4.13.0-38-generic
drwxr-xr-x 27 root root 4096 apr 26 10:53 linux-headers-4.13.0-39
drwxr-xr-x 7 root root 4096 apr 26 10:53 linux-headers-4.13.0-39-generic
drwxr-xr-x 27 root root 4096 mag 10 21:49 linux-headers-4.13.0-41
drwxr-xr-x 7 root root 4096 mag 10 21:49 linux-headers-4.13.0-41-generic
drwxr-xr-x 27 root root 4096 mag 25 21:27 linux-headers-4.13.0-43
drwxr-xr-x 7 root root 4096 mag 25 21:27 linux-headers-4.13.0-43-generic
drwxr-xr-x 27 root root 4096 set 4 2016 linux-headers-4.4.0-21
drwxr-xr-x 7 root root 4096 set 4 2016 linux-headers-4.4.0-21-generic
drwxr-xr-x 27 root root 4096 nov 12 2016 linux-headers-4.4.0-47
drwxr-xr-x 7 root root 4096 nov 12 2016 linux-headers-4.4.0-47-generic
drwxr-xr-x 27 root root 4096 dic 1 2016 linux-headers-4.4.0-51
drwxr-xr-x 7 root root 4096 dic 1 2016 linux-headers-4.4.0-51-generic
drwxr-xr-x 27 root root 4096 dic 6 2016 linux-headers-4.4.0-53
drwxr-xr-x 7 root root 4096 dic 6 2016 linux-headers-4.4.0-53-generic
drwxr-xr-x 27 root root 4096 dic 21 2016 linux-headers-4.4.0-57
drwxr-xr-x 7 root root 4096 dic 21 2016 linux-headers-4.4.0-57-generic
drwxr-xr-x 27 root root 4096 gen 11 2017 linux-headers-4.4.0-59
drwxr-xr-x 7 root root 4096 gen 11 2017 linux-headers-4.4.0-59-generic
drwxr-xr-x 27 root root 4096 feb 4 2017 linux-headers-4.4.0-62
drwxr-xr-x 7 root root 4096 feb 4 2017 linux-headers-4.4.0-62-generic
drwxr-xr-x 27 root root 4096 feb 21 2017 linux-headers-4.4.0-63
drwxr-xr-x 7 root root 4096 feb 21 2017 linux-headers-4.4.0-63-generic
drwxr-xr-x 27 root root 4096 mar 2 2017 linux-headers-4.4.0-65
drwxr-xr-x 7 root root 4096 mar 2 2017 linux-headers-4.4.0-65-generic
drwxr-xr-x 27 root root 4096 mar 8 2017 linux-headers-4.4.0-66
drwxr-xr-x 7 root root 4096 mar 8 2017 linux-headers-4.4.0-66-generic
drwxr-xr-x 27 root root 4096 apr 5 2017 linux-headers-4.4.0-72
drwxr-xr-x 7 root root 4096 apr 5 2017 linux-headers-4.4.0-72-generic
drwxr-xr-x 27 root root 4096 apr 26 2017 linux-headers-4.4.0-75
drwxr-xr-x 7 root root 4096 apr 26 2017 linux-headers-4.4.0-75-generic
drwxr-xr-x 27 root root 4096 mag 8 2017 linux-headers-4.4.0-77
drwxr-xr-x 7 root root 4096 mag 8 2017 linux-headers-4.4.0-77-generic
drwxr-xr-x 2 root root 4096 gen 25 00:53 ndiswrapper-1.60
drwxr-xr-x 8 root root 4096 gen 9 17:59 nvidia-384-384.111
What can I delete? My current kernel version is the following one:
Code: Select all
$ uname -a
Linux nino-X555UJ 4.13.0-41-generic #46~16.04.1-Ubuntu SMP Thu May 3 10:06:43 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux