Re: CD-ROM Driver Design

From: Pavel Machek (pavel@suse.cz)
Date: Wed Jan 12 2000 - 10:15:02 EST


Hi!

> Is it possible to perform reads through the block_dev interface with an
> audio CD in the drive? I have been playing around with this for a little
> bit and can't get ll_rw_block() to do it. I have only been able to read
> data off an audio CD using CDROMREADAUDIO. Is that correct?
>
> The reason I ask is because I'm in the processes of writing an audio CD
> filesystem. The tracks are available as .wav or .au files. So far,
> everything is working, but I cannot use the block buffer infrastructure
> because of the block reading problem.
>
> It seems to me that the kernel should be able to recognize and deal
> with audio CDs. Don't get me wrong, I'm not suggesting that the kernel
> should provide obvious user space functionality such as doing mp3
> encoding, etc, but the need for CD rippers seems extraneous.

Someone already written cdrom filesystem, look at mailing list archives.

-- 
The best software in life is free (not shareware)!		Pavel
GCM d? s-: !g p?:+ au- a--@ w+ v- C++@ UL+++ L++ N++ E++ W--- M- Y- R+

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



This archive was generated by hypermail 2b29 : Sat Jan 15 2000 - 21:00:20 EST