Re: Music CD's

From: Richard Gooch (rgooch@ras.ucalgary.ca)
Date: Sun Apr 02 2000 - 15:18:10 EST


Jens Axboe writes:
> On Sun, Apr 02 2000, Richard Gooch wrote:
> > I'd still like to see an audiofs for Linux. From time to time I hear
> > someone saying we should have one/it's a WIP/it's out there. What's
> > the story? Assuming there is such a beast out there, is there a reason
> > it's not in the kernel?
>
> The ones I've seen haven't been to pretty - basically they do something
> like
>
> audiofs_read()
> {
> mm_segment_t old_fs = get_fs();
>
> set_fs(KERNEL_DS);
> sys_ioctl(fd, CDROMREADAUDIO, cdrom_read_audio_buf);
> set_fs(old_fs);
> ...
> }

Yeah, it's not that elegant, faking user-space access from the kernel.

> and stuff like that. It would be hard to pass that data in the
> buffer cache... Besides, why do we need one?

Because a filesystem is the natural way to present data. One
shouldn't have to use a special programme to access audio data.

Whether it's done as a bona-fide audiofs, or a user-space programme
talking to codafs is a separate issue. I'd just like to see something
made available. I keep hearing whispers, but haven't seen anything
concrete yet.

                                Regards,

                                        Richard....
Permanent: rgooch@atnf.csiro.au
Current: rgooch@ras.ucalgary.ca

-
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 : Fri Apr 07 2000 - 21:00:08 EST