Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 May 2006 10:00:31 +0200
From:      "Poul-Henning Kamp" <phk@phk.freebsd.dk>
To:        "M. Warner Losh" <imp@bsdimp.com>
Cc:        julian@elischer.org, arch@FreeBSD.org
Subject:   Re: A sort of plan for consoles in FreeBSD 
Message-ID:  <18082.1148803231@critter.freebsd.dk>
In-Reply-To: Your message of "Sun, 28 May 2006 01:19:32 MDT." <20060528.011932.1220016372.imp@bsdimp.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
In message <20060528.011932.1220016372.imp@bsdimp.com>, "M. Warner Losh" writes
:

>LOG_CONS happens only when it can't sent the message to syslogd(8).
>LOG_PERROR will also print it on stderr.  LOG_CONS would then
>degenerate into LOG_PERROR.

No, it would degenerate into the nonexistent LOG_TTY.

stderr and /dev/tty are not the same thing, and it is impossible to
declare one better than the other:  they have different semantics.

-- 
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?18082.1148803231>