From owner-freebsd-current Mon Sep 21 01:16:20 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id BAA24708 for freebsd-current-outgoing; Mon, 21 Sep 1998 01:16:20 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from smtp02.primenet.com (smtp02.primenet.com [206.165.6.132]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id BAA24703 for ; Mon, 21 Sep 1998 01:16:18 -0700 (PDT) (envelope-from tlambert@usr09.primenet.com) Received: (from daemon@localhost) by smtp02.primenet.com (8.8.8/8.8.8) id BAA13546; Mon, 21 Sep 1998 01:15:49 -0700 (MST) Received: from usr09.primenet.com(206.165.6.209) via SMTP by smtp02.primenet.com, id smtpd013534; Mon Sep 21 01:15:44 1998 Received: (from tlambert@localhost) by usr09.primenet.com (8.8.5/8.8.5) id BAA21912; Mon, 21 Sep 1998 01:15:40 -0700 (MST) From: Terry Lambert Message-Id: <199809210815.BAA21912@usr09.primenet.com> Subject: Re: pthreads and sync writes To: bde@zeta.org.au (Bruce Evans) Date: Mon, 21 Sep 1998 08:15:40 +0000 (GMT) Cc: mal@algonet.se, tlambert@primenet.com, freebsd-current@FreeBSD.ORG In-Reply-To: <199809202308.JAA18502@godzilla.zeta.org.au> from "Bruce Evans" at Sep 21, 98 09:08:37 am X-Mailer: ELM [version 2.4 PL25] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > >> Btw, O_FSYNC isn't documented in open.2. > > > >Then the man page is broken, since this has existed as an option to > >open(2) in UNIX for a very, very long time. > > I was almost right about O_FSYNC being a no-op. It wasn't implemented > in FreeBSD until the Lite2 merge. It is still a no-op in -stable. > Had it been an optional no-op in all versions of BSD for a very, very > long time? The answer is "yes, according to the source tree". Note that, IMO, failure to support this option in FreeBSD, if such occurs, makes FreeBSD wrong, not the other way around. Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message