Re: [PATCH] 2.6.8.1 Mis-detect CRDW as CDROM

From: Marc Ballarin
Date: Wed Aug 18 2004 - 07:22:02 EST


On Wed, 18 Aug 2004 14:01:04 +0200
Frank Steiner <fsteiner-mail@xxxxxxxxxxxxxx> wrote:

> So it seems that the new commands that I added are just ignored and have
> no effect when running growisofs as user.
>
> How can that be? Am I missing sth? Is the order in which the commands
> are added via safe_for_read important?
>

growisofs and dvd+r-format open the device read-only, even though they try
to do writes.

Two choices:
1) declare all needed commands as safe for read (you might as well disable
filtering completely...)

2) replace O_RDONLY in dvd+r-tools sources with O_RDWR and recompile
(that's what I did).

Marc
-
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/