Messages in this thread |  | | | Date | Wed, 28 Jan 2004 00:44:49 +0100 | | From | Jens Axboe <> | | Subject | Re: MO: opening for write in cdrom.c |
| |
On Tue, Jan 27 2004, Pascal Schmidt wrote: > On Tue, 27 Jan 2004 17:40:45 +0100, you wrote in linux.kernel: > > > I'm surprised the sense messages don't show that it's a write to a write > > protected disc (xx/27/zz, where xx == 0x07 or 0x05). > > Yep, I wasn't precise, that shows up before the error=0x70 line.
Good, so it's catchable easily even for your drive. So mark the disc write protected when you see this error on write, and print a message saying so.
-- Jens Axboe
- 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/
|  |