open_imagefile
if ((src.fd = open_imagefile(src.type, src.disk, O_RDONLY,
if ((dst.fd = open_imagefile(dst.type, dst.disk, O_RDWR,
int open_imagefile(int, const char *, int,