18 #include <sys/ioctl.h>
19 #include <minix/config.h>
20 #include <minix/const.h>
21 #include <minix/partition.h>
22 #include <minix/u64.h>
23 #include <ibm/partition.h>
32 for(d
= 0; d
< 4; d
++) {
34 sprintf(name
, "/dev/c0d%d", d
);
35 if((device
=open(name
, O_RDONLY
)) >= 0) {
37 ioctl(device
, DIOCTIMEOUT
, &v
);