Jo Even Skarstein, 06.04.2013 23:42:39:
On Fri, 2013-04-05 at 08:38 +0200, Helmut Karlowski wrote:It's much simpler as long as there is no need for a /kern-entry. Why not call Ssystem?I think it's wrong to use Ssystem() just because it's easier to implement. The result is more important, and IMO this information is something that should be available through /kern. That also makes it easier for the end user, as you can always expect to find the bootlog - if there is any - in e.g. /kern/bootlog.
You asked for it: /kern/bootlog holds the name of the logfile and e.g. cat $(</kern/bootlog) displays the file.
-- Helmut Karlowski