openpartition
static int openpartition(const char *, int, char *, size_t);
fd = openpartition(name, O_RDONLY, device, sizeof(device));