You have got some replies already. Another way of detection is
to run devfs, you may do a "ls /dev/floppy" and get
0, 1, 2, ...
devfs report exactly the devices you have, not the devices
you _may_ have. Note that you don't have to convert
your system to use devfs if you don't want to - you can
mount devfs some other place than /dev if all you want
is detection.
Helge Hafting
-
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/