/* If we can read block information, it's probably a tape device. */
struct blklen result;
if (0 == ioctl(fd, T_RDBLKLEN, &result)) {
/* If we can read block information, it's probably a tape device. */
struct blklen result;
if (0 == ioctl(fd, T_RDBLKLEN, &result)) {