On Wed, Jun 20, 2018 at 06:35:49PM +0200, Maximilian Pichler wrote:
> On Wed, Jun 20, 2018 at 6:27 PM, Tomasz Rola <rto...@ceti.pl> wrote:
> > On my Linux box:
> 
> ?
> 
> > cat HUGE | /usr/bin/time dd bs=1 count=1234944 | wc -c
> 
> stdin might be something much faster than your disk, in which case the
> relative cost of bs=1 increases.

So is this the problem with slow disk?

> > cat HUGE | /usr/bin/time dd bs=1024 count=1206 | wc -c
> 
> Doesn't work for prime numbers. ;)

Maybe suggest to the teacher that she sticks to numbers divisible by
512? That is what haxorz do.

-- 
Regards,
Tomasz Rola

--
** A C programmer asked whether computer had Buddha's nature.      **
** As the answer, master did "rm -rif" on the programmer's home    **
** directory. And then the C programmer became enlightened...      **
**                                                                 **
** Tomasz Rola          mailto:tomasz_r...@bigfoot.com             **

Reply via email to