Subject: Re: /dev/stdout wierdness
To: =?iso-8859-1?Q?Jarom=EDr_Dolecek?= <jdolecek@netbsd.org>
From: Frank van der Linden <fvdl@wasabisystems.com>
List: tech-userlevel
Date: 02/21/2001 21:20:25
On Wed, Feb 21, 2001 at 09:12:01PM +0100, Jaromír Dolecek wrote:
> Intuitively, if the stdout is opened append only, the access via
>  /dev/stdout should probably silently enforce the open flags of
> process's desc. #1 a.k.a.  stdout.  I think it's bug if it's doing
> something else. Or is there any reason this is useful ?

James Chacon was looking into this; it appears to only happen if
you use the fdesc filesystem. It can also lead to a problem when
compiling ktruss, which I've experienced myself. I haven't looked
in to it myself, James will know more.

- Frank