Subject: Re: maximum size of 8KB in copyin/out
To: , <tech-kern@netbsd.org>
From: Toru Nishimura <locore64@alkyltechnology.com>
List: port-arm
Date: 03/10/2007 08:52:12
Maen Suleiman maen.suleiman@gmail.com wrote;

> we have noticed
> that the maximum buffer size is 8KB (for example when using 'dd
> if=/dev/sd0c of=/dev/null bs=131072' ) ,
> Is there a reason for this?

In a short and general answer, Yes.

> can this size be increased ?

Depends.  It depends on how deep you understand Unix block I/O buffer
scheme and how it's implemented.  It's a time to go library and collect
Good Unix Books to read.

Toru Nishimura/ALKYL Technology