Skip to contentSkip to conversation

Write-protect checks

DISCUSSION Alan Stern 1 participant 1 message Dec 8, 2005 1 message not in the archive SCSI

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

Alan Stern

author
#1 lore raw
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