On Sat, Jan 10, 2009 at 12:05 AM, David Laight <da...@l8s.co.uk> wrote: > On Fri, Jan 09, 2009 at 06:39:27PM +0000, Luke Kenneth Casson Leighton wrote: >> >> further up the strace files, i'm looking at the biggest offender and >> it looks like it's reading files one byte at a time. > > Certainly a normal unix shell has to read input (from stdin) byte by byte > since it never knows when it might have to fork a process passing stdin > through - and the child needs the correct file offset.
ohhh, ok :) it just looked... mad!