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

  • From: "pulkomandy" <trac@xxxxxxxxxxxx>
  • Date: Fri, 14 Nov 2014 14:26:51 -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):

 I created a separate issue for mixed CDs where the data partition isn't
 visible: https://dev.haiku-os.org/ticket/11467

 Back on topic here, I'm not sure making the session look like a partition
 which starts from the start of the disk would work. In that case, I think
 the ISO9660 filesystem will not find the table of content, which is
 somewhere towards the end of the disc, and not at the start.

 Something that may work is substracting the session start sector ID from
 all sector numbers in the ISO9660 filesystem. This way, things would be in
 line with what's on the disc, without having to overlapp the sessions.
 However, on multisession discs where a later session references data from
 a previous one, we would access those using a negative offset from the
 last session (with the session partitionning system translating that back
 to a positive offset from the start of the disc). Would there be a problem
 with allowing accessing things before the partition start by using
 negative offsets? I can't think of any problems (seek has a signed
 parameter for the offset), but maybe I'm missing something here.

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

Other related posts: