From owner-freebsd-current Sat May 1 0:12: 8 1999 Delivered-To: freebsd-current@freebsd.org Received: from opi.flirtbox.ch (unknown [62.48.0.50]) by hub.freebsd.org (Postfix) with SMTP id CBD4514E38 for ; Sat, 1 May 1999 00:12:05 -0700 (PDT) (envelope-from oppermann@pipeline.ch) Received: (qmail 33963 invoked from network); 1 May 1999 07:12:04 -0000 Received: from unknown (HELO pipeline.ch) (195.134.128.182) by opi.flirtbox.ch with SMTP; 1 May 1999 07:12:04 -0000 Message-ID: <372AA9C1.4ABC9C1B@pipeline.ch> Date: Sat, 01 May 1999 09:14:09 +0200 From: Andre Oppermann Organization: Internet Business Solutions Ltd. X-Mailer: Mozilla 4.07 [en] (Win98; U) MIME-Version: 1.0 To: mjacob@feral.com Cc: Greg Lehey , Brad Knowles , FreeBSD current users Subject: Re: Porting Greg Lehey's rawio.c from FreeBSD to Linux... References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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. -- Andre To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message