Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Aug 2000 11:37:16 +0200 (CEST)
From:      Soren Schmidt <sos@freebsd.dk>
To:        t.vanklaveren@student.utwente.nl (Theo van Klaveren)
Cc:        K.J.Koster@kpn.com (Koster K.J.), freebsd-hackers@FreeBSD.ORG (FreeBSD Hackers)
Subject:   Re: audiofs mixing audio and data tracks
Message-ID:  <200008100937.LAA30319@freebsd.dk>
In-Reply-To: <004701c002ad$77378960$19e55982@student.utwente.nl> from Theo van Klaveren at "Aug 10, 2000 11:29:21 am"

next in thread | previous in thread | raw e-mail | index | archive | help
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 majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200008100937.LAA30319>