Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Sep 1998 10:24:37 +0200 (MET DST)
From:      "Wilhelm B. Kloke" <wb@yorikke.arb-phys.uni-dortmund.de>
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   kern/7880: mount_cd9660 incorrect on multitrack CD-R
Message-ID:  <199809100824.KAA23955@yorikke.arb-phys.uni-dortmund.de>

next in thread | raw e-mail | index | archive | help

>Number:         7880
>Category:       kern
>Synopsis:       mount_cd9660 incorrect on multitrack CD-R
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:
>Keywords:
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Sep 10 01:30:00 PDT 1998
>Last-Modified:
>Originator:     Wilhelm B. Kloke
>Organization:
Inst f Arbeitsphysiologie Uni Dortmund
>Release:        FreeBSD 3.0-CURRENT i386
>Environment:

	As noted. Probably same in 2.2.x also.

>Description:

	When I tried to mount a Kodak Photo CD, mount_cd9660 failed
	with a bad message (``invalid argument'').
	I traced this fault down to the following. The disk was
	written with 7 tracks, in one session. It was readable on
	Windows. It was also mountable when I added -s 0 option.

>How-To-Repeat:

	Easily.

>Fix:
	
	I looked into the source /sys/isofs/cd9660/cd9660_vfsops.c.
	There is a comment:

> /* 
>  * Try to find the start of the last data track on this CD-ROM.  This
>  * is used to mount the last session of a multi-session CD.  Bail out
>  * and return 0 if we fail, this is always a safe bet.
>  */

	This is not the correct algorithm. The first track of the last
	session is needed.


>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message



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