|
Usually log files are made with ordering so you'll get:
dmesg
dmesg.0
dmesg.1.gz
dmesg.2.gz
etc...
The compressed ones are usually very safe to remove, the ones with 0 are usually back ups of the live logs, you don't want to be deleting dmesg when the kernels trying to write to it. The others without this scheme you can usually delete the older versions quite easily, but I'd leave the latest, you never know whats trying to write to them or when it will be useful.
Most system delete the oldest ones anyway, I know my system only keeps dmesg.4.gz anything older gets removed automatically.
|