Re: Rescan IDE interface when no IDE devices are present

From: Benjamin Herrenschmidt
Date: Sun Jul 16 2006 - 15:23:32 EST


On Sun, 2006-07-16 at 14:12 -0500, Daniel De Graaf wrote:
> My laptop has only one IDE interface (/dev/hdc), which means there are
> no valid IDE block devices which can be used for HDIO_SCAN_HWIF ioctl
> to scan for the insertion of my CD-ROM drive.
>
> Are there alternate methods of invoking this ioctl, or for creating an
> open filehandle where it can be used?

If you have ide1, you have both hdc and hdd (slave of hdc) unles sit's
not really IDE ...

Ben.


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/