Messages in this thread | | | Date | Wed, 8 May 2002 20:59:34 +0200 | From | Dave Jones <> | Subject | Re: [PATCH] 2.5.14 IDE 56 |
| |
On Wed, May 08, 2002 at 12:21:39PM -0600, Erik Andersen wrote: > if ((fd=open(device_string, O_RDONLY | O_NONBLOCK)) < 0) { ...
> etc.... to detect the available ide devices without groveling > through /proc/ide?
This goes splat with removable IDE devices like ZIP drives etc. They fail to open() unless you put a disk in them.
-- | Dave Jones. http://www.codemonkey.org.uk | SuSE Labs - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |