[haiku-bugs] Re: [Haiku] #8473: Concerns about ISO 9660 implementation

  • From: "scdbackup" <trac@xxxxxxxxxxxx>
  • Date: Mon, 16 Apr 2012 12:42:50 -0000

#8473: Concerns about ISO 9660 implementation
-------------------------------------+----------------------------
   Reporter:  scdbackup              |      Owner:  nobody
       Type:  enhancement            |     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 scdbackup):

 https://dev.haiku-os.org/attachment/ticket/8473/high_root_block.iso.bz2
 was produced by:
 {{{
 $ ls -l file1 file2 this_is_session_2
 -rw-r--r-- 1 thomas thomas 2147483648 2012-04-16 14:01 file1
 -rw-r--r-- 1 thomas thomas 2147483648 2012-04-16 14:02 file2
 -rw-r--r-- 1 thomas thomas         18 2012-04-16 14:12 this_is_session_2
 $ xorriso -outdev high_root_block.iso -add file1 file2 --
 $ xorriso -dev high_root_block.iso -add this_is_session_2 --
 }}}

 It bears two sessions. The PVD in block 16 points to the root directory
 of the second session in block 2097234 = byte 0x100029000.
 {{{
 TOC layout   : Idx ,  sbsector ,       Size , Volume Id
 ISO session  :   1 ,        32 ,   2097175s , ISOIMAGE
 ISO session  :   2 ,   2097216 ,        24s , ISOIMAGE
 }}}
 (There is a PVD in block 48 which points to the root directory of the
 first
 session. With Linux-specific mount option {{{sbsector=32}}} it is possible
 to mount this first session.)

 The data file content is stored at these places:
 {{{
 Report layout: xt , Startlba ,   Blocks , Filesize , ISO image path
 File data lba:  0 ,       55 ,  1048576 , 2147483648 , '/file1'
 File data lba:  0 ,  1048631 ,  1048576 , 2147483648 , '/file2'
 File data lba:  0 ,  2097239 ,        1 ,       18 , '/this_is_session_2'
 }}}

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

Other related posts: