Re: audio fs emulation

Richard Gooch (rgooch@atnf.csiro.au)
Tue, 27 Apr 1999 09:57:36 +1000


Nils Philippsen writes:
> On 26 Apr 1999, Miquel van Smoorenburg wrote:
> [snip]
> > Can't you just let the CD driver show different sessions as different
> > partitions?
> >
> > >mount -t iso9660 /dev/hdc /mnt/cdrom0
> > >mount -t audiofs /dev/hdc /mnt/audio
> >
> > That would become:
> >
> > mount -t audiofs /dev/hdc1 /mnt/audio
> > mount -t iso9660 /dev/hdc2 /mnt/cdrom0
>
> And what about SCSI CDROMs? /dev/scdX and /dev/srX access the whole CDROM
> (semantically spoken), there are no partitions in this scheme.

I don't see the problem there, either. If you're worried about tacking
an extra digit on the end when there already is a digit
(i.e. "/dev/sr0" becoming "/dev/sr00"), the answer is not to do it
that way. Have it become "/dev/sr0p1" instead. And with devfs it looks
even cleaner: "/dev/sr/c1b0t6u0" -> "/dev/sr/c1b0t6u0p1".
See: http://www.atnf.csiro.au/~rgooch/linux/kernel-patches.html

Regards,

Richard....

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