From owner-freebsd-current@FreeBSD.ORG Wed Mar 28 18:07:31 2007 Return-Path: X-Original-To: freebsd-current@FreeBSD.org Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B399B16A400 for ; Wed, 28 Mar 2007 18:07:31 +0000 (UTC) (envelope-from ivoras@fer.hr) Received: from ls405.t-com.hr (ls405.t-com.hr [195.29.150.135]) by mx1.freebsd.org (Postfix) with ESMTP id 3CAF113C4B8 for ; Wed, 28 Mar 2007 18:07:30 +0000 (UTC) (envelope-from ivoras@fer.hr) Received: from ls248.t-com.hr (ls248.t-com.hr [195.29.150.237]) by ls405.t-com.hr (Postfix) with ESMTP id B7FAA14A2D3; Wed, 28 Mar 2007 20:07:29 +0200 (CEST) Received: from ls248.t-com.hr (ls248.t-com.hr [127.0.0.1]) by ls248.t-com.hr (Qmlai) with ESMTP id B5B6DD50051; Wed, 28 Mar 2007 20:07:29 +0200 (CEST) Received: from ls248.t-com.hr (ls248.t-com.hr [127.0.0.1]) by ls248.t-com.hr (Qmlai) with ESMTP id A0AE5D50047; Wed, 28 Mar 2007 20:07:29 +0200 (CEST) X-Envelope-Sender-Info: g5URFa92gX9K/Rg9VFA/rNuQaJ1XeUXDGXe2uQ/CMC86StkSH1j7CT0zJW9WjWDV X-Envelope-Sender: ivoras@fer.hr Received: from [10.0.0.100] (89-172-36-1.adsl.net.t-com.hr [89.172.36.1]) by ls248.t-com.hr (Qmali) with ESMTP id 4F8715E00E2; Wed, 28 Mar 2007 20:07:29 +0200 (CEST) Message-ID: <460AAED3.9030903@fer.hr> Date: Wed, 28 Mar 2007 20:07:15 +0200 From: Ivan Voras User-Agent: Thunderbird 1.5.0.10 (Windows/20070221) MIME-Version: 1.0 To: Robert Watson References: <7ad7ddd90703280238r5dd3f30ftc1641926ecdf44a8@mail.gmail.com> <7ad7ddd90703280611p5c0ca4e1y600315551391a813@mail.gmail.com> <20070328185815.I1185@fledge.watson.org> In-Reply-To: <20070328185815.I1185@fledge.watson.org> X-Enigmail-Version: 0.94.1.2 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigEDF4A7AAFFD11B6D97ABE44C" Cc: freebsd-current@FreeBSD.org Subject: Re: NFS write() calls lead to read() calls? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Mar 2007 18:07:31 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigEDF4A7AAFFD11B6D97ABE44C Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Robert Watson wrote: > On Wed, 28 Mar 2007, Ivan Voras wrote: >=20 >> Ulrich Spoerlein wrote: >> >>> What kind of C program or script did you have in mind? My C-foo is >>> very weak ... >> >> If you have python installed, this is a simple way: >=20 > Also good is dd between the file system and /dev/null. Something worth= > remembering is that some tools (cp(1) in particular) use memory-mapped > I/O, which may behave differently than raw I/O operations. You mean /dev/zero and dd with notrunc option? Yes, I didn't know about notrunc until now :) --------------enigEDF4A7AAFFD11B6D97ABE44C Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.4 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGCq7hldnAQVacBcgRAtZgAJ9ygoywyrv2zMFL5Lrr8LurIq8WWgCfe5g2 sGZrDbfGAldwbkXLX/pf2UY= =HO8E -----END PGP SIGNATURE----- --------------enigEDF4A7AAFFD11B6D97ABE44C--