Re: [PATCH] 2.5.14 IDE 56

Dave Jones
2002-05-08T18:59:42Z

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