lkml.org 
[lkml]   [1999]   [Apr]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: audio fs emulation
On Fri, Apr 23, 1999 at 11:03:59PM +0100, you wrote:
> I haven't had a chance to look at this yet, never mind try it out, but
> there's one thing I'd be interested in knowing: How does it handle
> dual-mode CD's (those with a combination of data and audio tracks) ???

It doesn't. It just displays data tracks, but (at present) can't
access them.

> I'd like to see it handle those by one of the following, but have no
> idea if either is possible:
>
> 1. "mount /dev/cdrom" results in a separate directory called /audio
> appearing with the relevant files within it.

Hmm...(imho) that would need redesigning complete isofs code and adding
audio support for it. If it's possible (isofs uses normal
bread, audiofs passes calls to cd ioctls) at all...
>
> 2. "mount /dev/cdrom" can be used twice, once each with iso9660 and
> audiofs as the mount type, with different mount points.
I don't think so. VFS "locks" mounted device (afaik). One could do fs
emulation that bypasses VFS but that would be a really ugly hack.

> Comments?

I think the easiest (but probably not the best) way to do it is
that audiofs would read data tracks, and then those tracks
(files) would be mounted using loopback device...

With regards, Senko

--
___ _ _ _
| _ \ |_ ___| |___ _ __ ___(_) Senko Rasic at FER
| _/ _/ _ \ / _ \ ' \/ -_) | Mail: ptolomei@fly.cc.fer.hr
|_| \__\___/_\___/_|_|_\___|_| Web: http://fly.cc.fer.hr/~ptolomei/

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

\
 
 \ /
  Last update: 2005-03-22 13:51    [W:0.115 / U:0.932 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site