NFS write() calls lead to read() calls?

Ivan Voras ivoras at fer.hr
Wed Mar 28 18:07:31 UTC 2007


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 :)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 250 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20070328/834bc868/signature.pgp


More information about the freebsd-current mailing list