lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Tue, 25 Jul 2006 20:57:57 -0500 From: "Daniel De Graaf" <danieldegraaf@...il.com> To: linux-kernel@...r.kernel.org Cc: "Benjamin Herrenschmidt" <benh@...nel.crashing.org>, "Alan Cox" <alan@...rguk.ukuu.org.uk> Subject: Re: Rescan IDE interface when no IDE devices are present On 7/25/06, Alan Cox <alan@...rguk.ukuu.org.uk> wrote: > On Sul, 2006-07-16 at 15:03 -0500, Daniel De Graaf wrote: > > On 7/16/06, Benjamin Herrenschmidt <benh@...nel.crashing.org> 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 I wrote a module to do the register/unregister through a /proc file. It currently only works on ide1; the constants in scan_hw and unreg_hw should be made to depend on the value written to the /proc if other interfaces are needed. Available at http://danieldegraaf.afraid.org/linux/ide_proc_register.c Daniel - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@...r.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists