Whole lot of dir's in /lib/modules - can I delete them?
[email protected] Sun, 26 Apr 2026 23:52:30 +0800
| Newsgroups | gmane.linux.gentoo.user |
|---|---|
| Message-ID | <[email protected]> |
Dear all, Whilst doing a world update I happened to see that the nvidia driver was doing something in the dir "/lib/modules/7.0.1-gentoo-dist" - I am currently on 7.0.1. I thought "Just out of interest, I wonder what's in there". I went there and saw dirs: 6.11.10-gentoo-dist 6.11.4-gentoo-dist 6.11.5-gentoo-dist 6.11.6-gentoo-dist 6.11.7-gentoo-dist 6.12.11-gentoo-dist 6.12.8-gentoo-dist 6.12.9-gentoo-dist 6.13.2-gentoo-dist 6.13.3-gentoo-dist 6.13.4-gentoo-dist 6.13.5-gentoo-dist 6.13.6-gentoo-dist 6.13.7-gentoo-dist 6.14.2-gentoo-dist 6.14.3-gentoo-dist 6.14.4-gentoo-dist 6.14.5-gentoo-dist 6.14.6-gentoo-dist 6.14.7-gentoo-dist 6.14.8-gentoo-dist 6.14.9-gentoo-dist 6.15.2-gentoo-dist 6.15.3-gentoo-dist 6.15.4-gentoo-dist 6.15.6-gentoo-dist 6.15.7-gentoo-dist 6.15.8-gentoo-dist 6.15.9-gentoo-dist 6.16.2-gentoo-dist 6.16.3-gentoo-dist 6.16.5-p1-gentoo-dist 6.16.6-gentoo-dist 6.16.7-gentoo-dist 6.16.8-gentoo-dist 6.16.9-gentoo-dist 6.17.1-gentoo-dist 6.17.3-gentoo-dist 6.17.4-gentoo-dist 6.17.5-gentoo-dist 6.17.6-gentoo-dist 6.17.7-gentoo-dist 6.17.8-gentoo-dist 6.18.10-gentoo-dist 6.18.11-gentoo-dist 6.18.2-gentoo-dist 6.18.2-p1-gentoo-dist 6.18.3-gentoo-dist 6.18.5-gentoo-dist 6.18.6-gentoo-dist 6.18.7-gentoo-dist 6.18.8-gentoo-dist 6.18.9-gentoo-dist 6.19.10-gentoo-dist 6.19.11-gentoo-dist 6.19.12-gentoo-dist 6.19.13-gentoo-dist 6.19.14-gentoo-dist 6.19.3-gentoo-dist 6.19.5-gentoo-dist 6.19.6-gentoo-dist 6.19.9-gentoo-dist 7.0.1-gentoo-dist All of these dir's take up approx 51GB of space. As I am on kernel 7.0.1, do I need all of these dir's? Can I basically do a "rm -r 6*" and blow them all away, except the current? Any thoughts/enlightenment greatly appreciated, Andrew