From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alexander Viro To: 9fans@cse.psu.edu Subject: Re: [9fans] 9fs/9auth for FreeBSD In-Reply-To: <3AC4D76D.EC275C25@arl.army.mil> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Date: Mon, 2 Apr 2001 06:04:23 -0400 Topicbox-Message-UUID: 78347318-eac9-11e9-9e20-41e7f4b1d025 On Mon, 2 Apr 2001, Douglas A. Gwyn wrote: > Alexander Viro wrote: > > PS: POSIX says nothing, since append-only is BSDism and POSIX is a > > codification of Missed'em'V bugs, so append-only is out of scope. > > That is uncalled-for and inaccurate. We put considerable effort > into accommodating *both* the BSD and USG variants of UNIX when > drawing up the (initial) POSIX specs. > > O_APPEND was certainly included in the 1988 IEEE 1003.1 (POSIX) > specification; it's defined in and means that the file > offset is to be set to the end of the file prior to each write. Back in 1988 append-only didn't exist. O_APPEND behaviour is the only part of the thing where everyone agrees - the problem is in the treatment of append-only files (thing that was introduced after 1988) when opened _without_ O_APPEND.