Re: [PATCH] until blockdev --setrw /dev/scd$n works

From: Pat LaVarre
Date: Mon Dec 08 2003 - 12:12:53 EST


> > + printk("lk 2.5 ide-cd.c would refuse write\n"); ...
> > + printk("lk 2.5 sr.c would refuse write\n"); ...
> > + printk("lk 2.5 cdrom.c would refuse write\n"); ...
> ...
> 2) I have two pre-production samples of the same device: one ATAPI, one
> USB. Without my patch my ATAPI device never writes, and for my USB
> device I have to volunteer `blockdev --setrw` or `blockdev --setro`
> again after each disc insertion.

Ouch this English doesn't say what I mean. Instead I should have said:

a) cdrom.ko refuses to pass thru writes unless patched.

b) sr_mod.ko refuses to pass thru writes unless patched.

c) ide-cd.ko refuses to pass thru writes unless patched or asked via
ioctl e.g. via blockdev --setrw.

I'm guessing the maintainers of cdrom.ko sr_mod.ko would accept a patch
to make blockdev --setrw work for those as well as it already does for
ide-cd.ko.

Pat LaVarre


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/