Date: Wed, 25 May 94 15:00:21 -0400 From: dj AT ctron DOT com (DJ Delorie) To: ericb AT lsid DOT hp DOT com Cc: djgpp AT sun DOT soe DOT clarkson DOT edu Subject: Re: Library problems > Isn't 512 the true disk blocksize? If not, is 4096 always the correct > value, or does it vary depending on how the disk is layed out? Is > there a way to ask DOS and fill this field in correctly? 512 is the disk block size, but 4096 is the size of the transfer buffer. FILE* accesses are based on st_blksize, so it's set to 4096 to improve performance. BUFSIZ is also set to 4096.