FD_STYPE
case FD_STYPE: /* set drive type */
if (ioctl(fd, FD_STYPE, &ft) == -1)
if (ioctl(fd, FD_STYPE, &fdt) < 0)