Write-protect checks
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 7 lines · Alan Cox
Quoted 3 lines · Alan Stern
module parameter. For some reason (don't ask me why -- I don't know) the SCSI core doesn't check a disk device's write-protect status unless the device is marked as removable.
Have you asked the scsi maintainers why this occurs. Having had a quick look over the specs I have here I can't see why this is done either.
No, I haven't.
Okay guys. Does anyone know why sd.c calls sd_read_write_protect_flag only for devices with removable media?
Alan Stern