Re: A though on multi-session cds

Jens Axboe (axboe@image.dk)
Sun, 10 Oct 1999 17:27:11 +0200


On Thu, Oct 07 1999, Steve Dodd wrote:
> What would be even more interesting is for cdrom block devices to make
> multiple sessions appear as partitions -- assuming people don't ever put
> _real_ partition tables on CD-ROMs, of course.

I did that for 2.3, it is in current kernels. Only works on
ATAPI devices, though, since SCSI CD-ROM's use minors to
differentiate between devices. So you can do

mount /dev/hdc3 /mnt/cdrom

and get session 3 mounted.

-- 
*  Jens Axboe <axboe@image.dk>
*  Linux CD-ROM Maintainer
*  http://www.kernel.dk

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