'detect' floppy hardware from userland? ioctl?

From: Jeff Meininger (jeffm@boxybutgood.com)
Date: Fri Aug 17 2001 - 16:31:27 EST


I'm writing an app that needs to know what floppy drives are connected to
the system. Right now, I'm parsing the output of 'dmesg', but 'dmesg' can
fill up so that the part where floppy drives are listed is no longer
available. Is there an ioctl or some other interface for discovering fd0,
fd1, etc?

Thanks.
BTW, I'm not a list member, please Cc: my address!
-Jeff M

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



This archive was generated by hypermail 2b29 : Thu Aug 23 2001 - 21:00:25 EST