shorten dmesg.log

Michael Tautschnig mt at debian.org
Fri Sep 2 15:08:50 CEST 2011


Hi,

> > Would you mind taking a look at the logtail patch that's been sitting in
> > experimental for almost forever already?
> I don't see how this can possibly work on something like the kernel message buffer. Its contents will rotate once it runs full so the offset noted by logtail will no longer be correct.
> I think the only way of handling that is putting a marker into the buffer that will also rotate. (In case it rotates out, we take everything we can get, which is just what would be done now.)

Please note that my patch relies on /var/log/kern.log instead of dmesg, hence no
ring buffer here. But I might be missing something else.

Best,
Michael

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.uni-koeln.de/pipermail/linux-fai-devel/attachments/20110902/a2dcef86/attachment.bin>


More information about the linux-fai-devel mailing list