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 _at_ vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
References:
- Re: MO: opening for write in cdrom.cPascal Schmidt
- Prev by Date: Re: [PATCH] i2c driver fixes for 2.6.2-rc2
- Next by Date: Re: [patch] 2.6.1-mm5 compile do not use shared extable code foria64
- Previous by thread: Re: MO: opening for write in cdrom.c
- Next by thread: Re: MO: opening for write in cdrom.c
- Indexes:[Main][Thread]