How to find out if /dev/fd0 represents an existing floppy drive?

From: Norman Diamond
Date: Fri Mar 06 2009 - 06:43:19 EST


Long long ago in a galaxy far far away a program could find out if /dev/fd0 really represented an existing floppy drive or not.

#define FD_DRIVE_PRESENT 8

Now that bit is unused.

In this millennium is there some way for a program to find out if /dev/fd0 really represents an existing floppy drive?
--------------------------------------
Power up the Internet with Yahoo! Toolbar.
http://pr.mail.yahoo.co.jp/toolbar/
--
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/