> # cat /proc/ide/hdd/media
> cdrom
>
> Very good. That will suffice.
The for fdisk, the test should probably be something like:
if (media != "tape" && media != "cdrom")
/* must be a disk, either "disk" or "floppy" */
-- mlord@pobox.com The Linux IDE guy- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu