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

  • From: "bonefish" <trac@xxxxxxxxxxxx>
  • Date: Sat, 15 Nov 2014 14:01:41 -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 bonefish):

 Replying to [comment:9 pulkomandy]:
 > So I see two possible solutions:
 >  * Have the session partitionning make all sessions overlapped and
 starting from the first sector of the disc, to make ISO9660 happy, and
 then somehow inform it of where is the ISO9660 header.

 That's fairly simply. The partitioning system can use the [http://cgit
 .haiku-
 
os.org/haiku/tree/headers/os/drivers/disk_device_manager.h?id=f9ac1e93fb1ba12163bff4128efb54d8e548e4a8#n38
 partition_data::parameters field] to store additional information (in
 driver settings format).

 >  * Have the partitionning system as it is now (so sessions match the
 physical layout of the disc), have ISO9660 convert the on-disc asolute
 numbers to session-start-relative (possibly negative), then the session
 partitionning system convert back to absolute numbers. This menas more
 involved changes to the ISO9660 and makes it more complex, but somehow it
 feels more "natural" to me than overlapping the partitions.

 Seeking to or reading from negative offsets is not possible. That wouldn't
 be a big problem, though, as the ISO9660 module could determine that it is
 mounting a session and instead work with the underlying disk device. I
 can't say that find this particularly "natural". IMO partitions should
 cover the accessed data range.

 > In the first case, I think we would also break any other filesystem
 used, for example the BFS track on the BeOS CDs. In the second case these
 would continue to work, using only positive offsets from the session start
 (as they do now).

 But those aren't even multi-session -- and it wouldn't make any sense
 either -- or do I miss something?

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

Other related posts: