From owner-freebsd-current Sat May 1 0:25:50 1999 Delivered-To: freebsd-current@freebsd.org Received: from implode.root.com (root.com [209.102.106.178]) by hub.freebsd.org (Postfix) with ESMTP id 2118C14E38 for ; Sat, 1 May 1999 00:25:43 -0700 (PDT) (envelope-from root@implode.root.com) Received: from implode.root.com (localhost [127.0.0.1]) by implode.root.com (8.8.8/8.8.5) with ESMTP id AAA25403; Sat, 1 May 1999 00:21:48 -0700 (PDT) Message-Id: <199905010721.AAA25403@implode.root.com> To: Andre Oppermann Cc: mjacob@feral.com, Greg Lehey , Brad Knowles , FreeBSD current users Subject: Re: Porting Greg Lehey's rawio.c from FreeBSD to Linux... In-reply-to: Your message of "Sat, 01 May 1999 09:14:09 +0200." <372AA9C1.4ABC9C1B@pipeline.ch> From: David Greenman Reply-To: dg@root.com Date: Sat, 01 May 1999 00:21:48 -0700 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >Matthew Jacob wrote: >> For raw pattern testing Linux has a special challenge since you right >> directly into the buffer cache. There *is* a BLKFLSBUF ioctl that can try >> and force a flush but this probably ought to be written to use O_FSYNC- I >> think that the ll_rw code might use it or an fsync could be done... > >Linux' fsync() works only on directories, not on files. Huh? That doesn't make any sense. The "f" in fsync() stands for "file". -DG David Greenman Co-founder/Principal Architect, The FreeBSD Project - http://www.freebsd.org Creator of high-performance Internet servers - http://www.terasolutions.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message