From owner-freebsd-current Sun Dec 17 22:38: 3 2000 From owner-freebsd-current@FreeBSD.ORG Sun Dec 17 22:38:01 2000 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from critter.freebsd.dk (flutter.freebsd.dk [212.242.40.147]) by hub.freebsd.org (Postfix) with ESMTP id 4036837B400; Sun, 17 Dec 2000 22:38:00 -0800 (PST) Received: from critter (localhost [127.0.0.1]) by critter.freebsd.dk (8.11.1/8.11.1) with ESMTP id eBI6bqf25676; Mon, 18 Dec 2000 07:37:52 +0100 (CET) (envelope-from phk@critter.freebsd.dk) To: Peter Jeremy Cc: John Baldwin , Doug Barton , current@FreeBSD.ORG Subject: Re: test/review: /dev/console logging patch In-Reply-To: Your message of "Mon, 18 Dec 2000 10:19:11 +1100." <20001218101910.O83523@gsmx07.alcatel.com.au> Date: Mon, 18 Dec 2000 07:37:52 +0100 Message-ID: <25674.977121472@critter> From: Poul-Henning Kamp Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message <20001218101910.O83523@gsmx07.alcatel.com.au>, Peter Jeremy writes: > >I'm not offering code right now, but how about using a `newline or >timeout' approach? If there's a partial line and there's been no >console output for some number of seconds, forward the line to log(9). I played with this, and I was not happy with the result, if somebody else can do it better, I'm open for patches... -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message