Date: Wed, 28 Mar 2007 20:07:15 +0200 From: Ivan Voras <ivoras@fer.hr> To: Robert Watson <rwatson@FreeBSD.org> Cc: freebsd-current@FreeBSD.org Subject: Re: NFS write() calls lead to read() calls? Message-ID: <460AAED3.9030903@fer.hr> In-Reply-To: <20070328185815.I1185@fledge.watson.org> References: <7ad7ddd90703280238r5dd3f30ftc1641926ecdf44a8@mail.gmail.com> <eudfat$g2m$1@sea.gmane.org> <7ad7ddd90703280611p5c0ca4e1y600315551391a813@mail.gmail.com> <eue3ku$mq2$1@sea.gmane.org> <20070328185815.I1185@fledge.watson.org>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --] Robert Watson wrote: > On Wed, 28 Mar 2007, Ivan Voras wrote: > >> 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: > > 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 :) [-- Attachment #2 --] -----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-----help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?460AAED3.9030903>
