Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Fedora FC4 - purge old modules?

Status
Not open for further replies.

thedaver

IS-IT--Management
Joined
Jul 12, 2001
Messages
2,741
Location
US
On my box running "Fedora Core release 4 (Stentz)"
I have a considerable amount of disk space spent on modules from old kernels; disk space I'd like to reclaim.

If I have....
Code:
[root@www modules]# uname -a
Linux [URL unfurl="true"]www.example.com[/URL] 2.6.17-1.2139_FC4 #1 Fri Jun 23 20:57:00 EDT 2006 x86_64 x86_64 x86_64 GNU/Linux

[root@www modules]# ls /lib/modules
2.6.11-1.1369_FC4     2.6.15-1.1833_FC4smp  2.6.16-1.2115_FC4
2.6.11-1.1369_FC4smp  2.6.16-1.2069_FC4     2.6.16-1.2115_FC4smp
2.6.14-1.1656_FC4     2.6.16-1.2069_FC4smp  2.6.17-1.2139_FC4
2.6.14-1.1656_FC4smp  2.6.16-1.2096_FC4     2.6.17-1.2141_FC4
2.6.15-1.1830_FC4     2.6.16-1.2096_FC4smp  2.6.17-1.2141_FC4smp
2.6.15-1.1830_FC4smp  2.6.16-1.2108_FC4     2.6.17-1.2142_FC4
2.6.15-1.1831_FC4     2.6.16-1.2108_FC4smp  2.6.17-1.2142_FC4smp
2.6.15-1.1831_FC4smp  2.6.16-1.2111_FC4
2.6.15-1.1833_FC4     2.6.16-1.2111_FC4smp

...can I just go ahead and remove the folders for modules from old kernels? I don't plan on reverting kernels, so the old modules are ostensibly artifacts only.

Any reason that old modules would still be hooked into the current kernel? How would I check to clean this up?
Thanks,
D.

D.E.R. Management - IT Project Management Consulting
 
I would save the current kernel and a previous one incase you need to fall back for some reason. You can also get rid of the files in your /boot directory too. You will know which files because they will have the same numbers as the folders. If you can't bring yourself to take the plunge, you might want to save the ones you want to delete in another folder untill you are sure you want to delete them. Or you could always just let them stay in you trash bin until you're sure.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top