[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: /cdrom -vs- /dev/hdc

On Thu, 2003-02-13 at 10:51, Pigeon wrote:
> On Wed, Feb 12, 2003 at 09:27:47PM -0500, Seneca wrote:
> > On Wed, Feb 12, 2003 at 06:46:37PM -0500, Bruce Park wrote:
> > >  I'm having some trouble loading my audio cd through /cdrom directory. 
> > > Before I start talking about the problem, here are the files that are of 
> > > use to this problem.
> > [...]
> > >  I can actually load audio files through /dev/hdc and /dev/cdrom but I 
> > > cannot load them through /cdrom. I can mount and run data cds perfectly 
> > > through /cdrom but the audio files don't show up there for some reason.
> > >  Does anyone have an idea why this doesn't work? I'm looking to solve this 
> > > problem rather than to ignore it and use /dev/hdc or /dev/cdrom to load 
> > > audio files. Any help or suggestion is greatly appreciated.
> > 
> > Data disks generally have a file system, while audio disks generally
> > don't.  You need a file system to mount the disk.  You can get a list of
> > tracks that are on a disk using a package like cdcd (on the command
> > line, "cdcd tracks").
> > 
> > You are probably familiar with the basic concept of formatting floppies
> > for general use. The formatting first sets the sector size, interleave,
> > the number of cylinders used on the disk.  After that, a file system may
> > be put onto the disk, a common one being FAT12.  When that is done, you
> > can mount the floppy.  However, the disk does not need to have a file
> > system put onto it; a fair number of my floppies that I use don't (file
> > transfer using "tar -rf /dev/floppy/0u1440 foo").  If I try to mount
> > one one of those floppies, I get an error.  I can, however, read the
> > files contained in the archive.  All I do list the files is
> > "tar -tf /dev/floppy/0u1440", to extract, "tar -xf /dev/floppy/0u1440
> > foo".
> > 
> > With many audio CDs it is a similar situation to that of floppies with
> > no file system.  While you can listen to the disks by specifying the
> > drive, you cannot mount them.  You can take a look at the contents, but
> > you need to use something designed for that task.
> In Windoze, you can get a (very buggy) patched DLL that turns audio
> tracks into regular files, so you can rip tracks simply by copying the
> files, etc. Surely there must be some way to get the same functionality
> in Linux? cddafs.o?
> Pigeon

There is cdfs, but my experience with it has been that while it has
*claimed* that the files it was listing were WAV files, they weren't.
They weren't CDR tracks, either. It might be that it needed a bit more
code tuning at the time, and is far better now.
ML Kahnt New Markets Consulting
Tel: (613) 531-8684 / (613) 539-0935
Email: kahnt@hosehead.dyndns.org

Attachment: signature.asc
Description: This is a digitally signed message part

Reply to: