BIOSDISK_SECSIZE
blks = size / BIOSDISK_SECSIZE;
frag = size % BIOSDISK_SECSIZE;
*rsize = blks * BIOSDISK_SECSIZE;
memcpy(buf + blks * BIOSDISK_SECSIZE, d->buf, frag);
#define BUFSIZE (1 * BIOSDISK_SECSIZE)
if (size & (BIOSDISK_SECSIZE - 1))
size / BIOSDISK_SECSIZE) != 0)