[KLUG Members] multisessin CD

Andrew Thompson tempes at ameritech.net
Wed Oct 20 20:34:05 EDT 2004


On Tue, 2004-10-19 at 15:54, komal wrote:
> I created mulitsesion data CD using cdrecord. Now every time I mount CD I
> can only see only last session. In K3B, I can see two tracks but cannot
> access first track. Now how to access first session?

According to the man page for mount (man 8 mount), you can include the
option session=x (where x is the session number) to select the session
to mount. You might try this:

# mount -o session=1 /dev/cdrom /mnt

I don't have any multisession CDs on which to test this, so I can't tell
you which way the numbers go. Assuming this is all correct, I would
assume one of 0, 1, or 2 will get you what you want.

Note: This feature has only been available since kernel version 2.3.4.
Shouldn't be a problem these days, but if you're trying to do this on an
older system, you'll want to check the kernel version.

-- 
Andrew Thompson <tempes at ameritech.net>
The Imagerie



More information about the Members mailing list