*BSD News Article 93601


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.cs.su.oz.au!metro!metro!munnari.OZ.AU!news.Hawaii.Edu!news.caldera.com!enews.sgi.com!news.corp.sgi.com!news.sgi.com!newsfeed.nacamar.de!newsfeed.ecrc.net!news.mch.sni.de!news.sni.de!Bielefeld.Germany.EU.net!Germany.EU.net!Dortmund.Germany.EU.net!interface-business.de!usenet
From: j@ida.interface-business.de (J Wunsch)
Newsgroups: comp.unix.bsd.netbsd.misc
Subject: Re: How do I mount specific sessions of a Multi-Session CD-ROM?
Date: 14 Apr 1997 14:59:03 GMT
Organization: interface business GmbH, Dresden
Lines: 24
Message-ID: <5itgnn$icq@innocence.interface-business.de>
References: <01bc4771$106bad60$acbf87c0@darykon.wa.com>
Reply-To: joerg_wunsch@interface-business.de (Joerg Wunsch)
NNTP-Posting-Host: ida.interface-business.de
X-Newsreader: knews 0.9.6
X-Phone: +49-351-31809-14
X-Fax: +49-351-3361187
X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F  93 21 E0 7D F9 12 D6 4E
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.netbsd.misc:5816

"Gerry Simmons" <gerry@darykon.wa.com> wrote:

> I have CD-R discs that have incremental sessions on them. They were created
> using Corel CD-Creator using ISO9660 format and long-filename support. The
> first session mounts great! But I need the LAST session. Any ideas?

You gotta teach mount_cd9660 to not use the root directory from an
alternate location on the disc.  Disclaimer: i don't know much about
NetBSD, but assume it's similar to FreeBSD in this respect.  So,
mount_cd9660 simply looks at the beginning of the device, and the
actual /dev/cd0a (or /dev/cd0c or whatever) simply maps the entire
written area of the CD-ROM.  Thus, while you could theoretically
access the data from the later sessions through the device, the
filesystem code simply doesn't make use of it.

As soon as someone sends me a true ISO9660 multi-session CD, i promise
to fix it for FreeBSD.  This fix might or might not be applicable for
NetBSD, depending on whether NetBSD provides the CDIO* ioctl command
abstraction i would intend to use to implement this.

-- 
J"org Wunsch					       Unix support engineer
joerg_wunsch@interface-business.de       http://www.interface-business.de/~j