From mboxrd@z Thu Jan 1 00:00:00 1970 Message-Id: <200103282256.f2SMuEl95658@orthanc.ab.ca> From: Lyndon Nerenberg To: 9fans@cse.psu.edu Subject: Re: [9fans] 9fs/9auth for FreeBSD In-reply-to: Your message of "Wed, 28 Mar 2001 17:28:06 EST." Date: Wed, 28 Mar 2001 15:56:14 -0700 Topicbox-Message-UUID: 76486672-eac9-11e9-9e20-41e7f4b1d025 >>>>> "Alexander" == Alexander Viro writes: Alexander> PS: POSIX says nothing, since append-only is BSDism and Alexander> POSIX is a codification of Missed'em'V bugs, so Alexander> append-only is out of scope. Let's make sure we're talking about the same thing here. The chflags() behaviour is 4.4BSD-specific. The O_APPEND behaviour has been around since the dawn of time (or at least SVR1). My copy of POSIX is at home, however SuS V2 states explicitly (both open(2) and write(2)) that O_APPEND causes all writes to set the file pointer to the end of the file prior to performing the write I/O, and that the combination of the implicit seek and the associated write are atomic. --lyndon