Sorry to bother you all with such an easy thing. I can't figure out how the kernel knows I have a write protected tape in a drive that I open via open("/dev/st0", O_RDWR, cf_flg, 0666) Using the sgio interface I can only sense a write protect status after attempting to to a write. How can one know this before doing a write op? Thanks in advance Mark -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html