Re: Rescan IDE interface when no IDE devices are present

From: Alan Cox
Date: Tue Jul 25 2006 - 20:24:38 EST


On Sul, 2006-07-16 at 15:03 -0500, Daniel De Graaf wrote:
> On 7/16/06, Benjamin Herrenschmidt <benh@xxxxxxxxxxxxxxxxxxx> wrote:
> > If you have ide1, you have both hdc and hdd (slave of hdc) unles sit's
> > not really IDE ...
> >
> > Ben.
>
> Yes, I have /dev/hdd, but no device is ever present there. I also have
> /dev/sda for the SATA hard disk, but do not think it is useful for
> HDIO_SCAN_HWIF or HWIO_UNREGISTER_HWIF ioctls.

There isn't. Feel free to write a module to do it (see how the ioctl
handles it and follow the same logic). Its at best a hack. libata is
trying to add proper hotplug for ATA/SATA.

Alan
-
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/