Re: Patch for video CD: porting 2.1->2.0

Ken Jordan (kenjordan@massmedia.com)
Fri, 19 Sep 1997 14:25:27 -0700 (PDT)


On Fri, 19 Sep 1997, Erik Andersen wrote:

> Hmmm... I don't know what readvcd-2.3 is at all, but this looks
> very similar to a patch that was added to drivers/block/ide-cd.c
> to add support for these ioctls. What I am curious about is if _anybody_
> has ever used or will ever plan on using the CDROMREADMODE1, the
> CDROMREADMODE2, or CDROMREADRAW ioctls for anything? I don't think
> they are very useful, and I have been considering dropping them (as
> part of my major updates to the kernel CD-ROM support). Do you actually
> use these ioctls for anything?
>
> Now, before everyone gets their underware in a wad, this should be
> seriously considered. If you want to get raw CD-DA to perfectly
> copy your CD collection, you should use the CDROMREADAUDIO ioctl.
> Is there really a need to read raw frames of mode1, mode2, or
> raw (whatever) data? Boris, what are you needing these ioctls for?

Well, if you want to (for example) duplicate a Video-CD, Photo-CD or CD-i
disc, you need to be able to read up either the MODE2 sectors or RAW
sectors. It can also be useful for bizarre mixed mode discs to just read
the whole thing up as RAW.

Now, whether or not many CD-ROM drives can actually implement these icotls
is another matter (I know that many CD-Rs can do this).

Take it easy,
Ken Jordan