Partition / filled by log files thanks to the Intel wifi card
Do you remember the problem given to me by the Intel wifi card? Who causes my system to slow down? Well that problem was solved but I've noticed that the / partition has been filled by the logs of "Couldn't find free firmware"!!!!!!
The file kern.log and syslog.1 togheter occupy 66 GB!!! That's absurd for logs files!!!!
What should I do? May I delete those files without have problems in the management of the system?
Sure, delete logs but that won't stop them from coming back.
Blacklist the kernel module?
Even better: Remove the Intel WiFi card?
If you only want to remove that specific message (not the rest of the log):
$ sudo sed -i '/Couldn\'t find free firmware/d' /var/log/*
This command deletes every lines, in the logs, that contains the string "Couldn't find free firmware".
for that session only or, every time the system sees the line?
for that session only or, every time the system sees the line?
I've have already solved the problem of the Intel wifi card upgrading the kernel and that stopped the infinite loop that was slowing down my system, however after 1 week I've found what that problem left me in the /var/log directory.
So the logs won't come back :), I've only to remove them :)
Ok I've chosen the most radical way, I've deleted the logs files :D and now the partition is no more filled :)
Do you remember the problem given to me by the Intel wifi card? Who causes my
system to slow down? Well that problem was solved but I've noticed that the /
partition has been filled by the logs of "Couldn't find free firmware"!!!!!!
The file kern.log and syslog.1 togheter occupy 66 GB!!! That's absurd for
logs files!!!!
What should I do? May I delete those files without have problems in the
management of the system?
Sure, delete logs but that won't stop them from coming back.
Blacklist the kernel module?
Even better: Remove the Intel WiFi card?
If you only want to remove that specific message (not the rest of the log):
$ sudo sed -i '/Couldn't find free firmware/d' /var/log/*
This command deletes every lines, in the logs, that contains the string
"Couldn't find free firmware".
I've have already solved the problem of the Intel wifi card upgrading the
kernel and that stopped the infinite loop that was slowing down my system,
however after 1 week I've found what that problem left me in the /var/log
directory, so the logs won't come back :)
I've only to remove them :)
Ok I've chosen the most radical way, I've deleted the logs files :D and now
the partition is no more filled :)