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