It seems Theo van Klaveren wrote:
> | Ahem, maybe its time I chime in here.
> | Luigi and I once had an idea of having each track on a CD represented
> | by a device node, ie track0 = /dev/acd0t1 track1 = /dev/acd0t2 etc etc,
> | that way you could mount each track with whatever fs it supported.
> | This could be used to do what you want, and now where the ata driver
> | supports odd sector sizes, there is nothing hindering doing the
> | mount of an audio track (given the right mount_bla util that is).
>
> I stand corrected. I hadn't thought the ATA driver was so close to doing
> that already. Then again, I haven't extensively studied the ATA code yet.
:)
> | The only problem is that we have to abuse the minor# etc to
> | get space for the 99 tracks a CD can hold, but that is not too bad...
>
> Tracks, as in audio tracks? You wouldn't want a device for each audio track,
> you want one device for _all_ audio tracks and one device per data track. Or
> am I misunderstanding you here?
Well, the idea is that you get one device pr CD track, that way you can
do what you want with them, ie to rip audio track 4 you do:
dd if=/dev/acdNt4 of=track4.raw bs=2352
To mount data track5 with an ISO filesys:
mount -t cd9660 /dev/acdNt5 /cdrom
If you want to collect all audio tracks together you would just
use the normal /dev/acd0c device, read the TOC of the CD so
you know where they are, set the right blocksize, and there
you go (that works now BTW).
-Søren
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message