FD_GTYPE
} else if (ioctl(fd, FD_GTYPE, &type) != -1) {
case FD_GTYPE: /* get drive type */
if (ioctl(fd, FD_GTYPE, &ft) == -1)
if(ioctl(fd, FD_GTYPE, &fdt) < 0)
if (ioctl(fd, FD_GTYPE, &fdt) == -1)
if (ioctl(fd, FD_GTYPE, &fdt) == -1)
if(ioctl(fd, FD_GTYPE, &fdt) < 0)