[haiku-bugs] Re: [Haiku] #11455: ISO9660 KDLs when it is not the first session on a CD.

  • From: "pulkomandy" <trac@xxxxxxxxxxxx>
  • Date: Thu, 13 Nov 2014 15:36:47 -0000

#11455: ISO9660 KDLs when it is not the first session on a CD.
-------------------------------------+----------------------------
   Reporter:  pulkomandy             |      Owner:  nobody
       Type:  bug                    |     Status:  new
   Priority:  normal                 |  Milestone:  R1
  Component:  File Systems/ISO 9660  |    Version:  R1/Development
 Resolution:                         |   Keywords:
 Blocked By:                         |   Blocking:
Has a Patch:  0                      |   Platform:  All
-------------------------------------+----------------------------

Comment (by pulkomandy):

 Mh, I can't see this in the iso9660 filesystem. The only thing I see is we
 get the partition information (http://cgit.haiku-os.org/haiku/tree/src
 /add-ons/kernel/file_systems/iso9660/iso9660.cpp#n614) and use the whole
 size of the CD rather than using the declared size of the volume. However,
 I don't see any other special handling there, to offset block numbers or
 anything like that.

 The sector numbers stored on disc are "absolute" (that is, relative to the
 start of the disc, not the start of the track or session). I saw some
 special code attempting to handle various things in the session code. It
 seems to be merging or splitting sessions in several case in order to get
 things working as expected, and export one partition for each data track,
 and a single partition for all CDDA tracks.

 In the "session" code we have support for mixed data/audio in a single
 session: http://cgit.haiku-os.org/haiku/tree/src/add-
 ons/kernel/partitioning_systems/session/Disc.cpp#n707
 This is for "mixed mode CDs": http://en.wikipedia.org/wiki/Mixed_Mode_CD
 I could not get this to work (the data track is not visible at all on
 those CDs)

 My CDs which triggers the KDL follow the "Blue Book" format instead:
 http://en.wikipedia.org/wiki/Blue_Book_(CD_standard)
 Unfortunately no specs for this are freely available. We don't seem to
 have any explicit support for them, or multisession, for that matter.

--
Ticket URL: <https://dev.haiku-os.org/ticket/11455#comment:5>
Haiku <https://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: