Re: Linux videoCD support

Gerd Knorr (kraxel@goldbach.isdn.cs.tu-berlin.de)
Thu, 30 Oct 1997 00:42:44 +0100


>All the remaining tracks contain MPEG data. They may be mapped to
>separate files (like track01, track02 etc).

The main problem you have if you try this is that the MPEG Data is in
xa/form2 sectors (they are *not* 2048, but 2324 bytes long). The whole
VFS layer is tuned to 2^n block sizes, therefore the MPEG Data sectors
do not fit. It is really hard do map these to "normal" files. That's
why we are currently reading these sectors with ioctls. The userfs
thing is just a wrapper around this.

Gerd

-- 
Never check for a error condition you don't know how to handle.