xorrisofs: Loading

 
 5.1 Influencing the behavior of image loading
 =============================================
 
 The following options control loading of an existing ISO image for the
 purpose of preparing a suitable add-on session.  If they are missing
 then a new image is composed from scratch.
 
 -M disk_path
      Set the path from which to load the existing ISO image directory
      tree on which to base the upcomming directory tree as add-on
      session.  The path must lead to a random-access readable file
      object.  On GNU/Linux: regular data files or block device files.
      A special kind of pseudo disk_path has the form "/dev/fd/"number.
      It depicts the open file descriptor with the given number,
      regardless whether the operating system supports this feature by
      file nodes in /dev/fd or not.  E.g.  /dev/fd/3 is file descriptor 3
      which was opened by the program that later started xorriso.
 -prev-session disk_path
      Alias of -M.
 -dev disk_path
      Alias of -M.
 -C last_session_start,next_writeable_address
      Set the 2 KiB block address last_session_start from where to read
      the ISO image out of the file given by option -M.
      Separated by a comma, set the next_writeable_address to which the
      add-on session will finally be written.  Decisive is actually the
      block address which the intended readers will have to use as
      superblock address on the intended medium.
      Both values can be inquired from optical media by help of burn
      programs and cdrecord option -msinfo.  xorriso itself can obtain it
      in its cdrecord emulation.  Do not let it load the drive, but
      rather do this manually or by a program like dd which reads a few
      bytes.  Only then it is sure that the device driver knows the true
      readable size of the medium.
 
      dd if=/dev/...  count=1 >/dev/null 2>&1
      values=$(xorriso -as cdrecord dev=/dev/...  -msinfo)
      echo $values
 
      Option -C may be used without option -M to create an ISO image from
      scratch and prepare it for being finally written to a block address
      other than 0.  Parameter last_session_start must then be set to 0.
 -cdrecord-params last_session_start,next_writeable_address
      Alias of -C.