Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #174420

Re: xorriso: listing files+offsets in an ISO9660 image w/o RockRidge

From "Thomas Schmitt" <scdbackup@gmx.net>
Newsgroups linux.debian.user
Subject Re: xorriso: listing files+offsets in an ISO9660 image w/o RockRidge
Date 2016-11-09 15:20 +0100
Message-ID <sBBTj-8ph-9@gated-at.bofh.it> (permalink)
References <sBBgC-7T9-15@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Hi,

regrettably the ban on reading Rock Ridge gets not into effect before
the attempt to read the SUSP entries of the root directory record.
So if that chain is damaged, then one would have to hack the source code:

-------------------------------------------------------------------------
--- libisofs/fs_image.c 2016-07-22 14:03:51 +0000
+++ libisofs/fs_image.c 2016-11-09 14:02:17 +0000
@@ -3017,15 +3017,14 @@
     } while (buffer[0] != 255);
 
     /* 4. check if RR extensions are being used */
-    ret = read_root_susp_entries(data, data->pvd_root_block);
-    if (ret < 0) {
-        goto fs_cleanup;
-    }
-
-    /* user doesn't want to read RR extensions */
     if (opts->norock) {
+        /* user doesn't want to read RR extensions */
         data->rr = RR_EXT_NO;
     } else {
+        ret = read_root_susp_entries(data, data->pvd_root_block);
+        if (ret < 0) {
+            goto fs_cleanup;
+        }
         data->rr = data->rr_version;
     }

-------------------------------------------------------------------------

After this change, the code which triggered the error message is not
reached any more, if Rock Ridge reading is disabled.


Have a nice day :)

Thomas

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

xorriso: listing files+offsets in an ISO9660 image w/o RockRidge Jonathan Dowland <jmtd@debian.org> - 2016-11-09 12:30 +0100
  Re: xorriso: listing files+offsets in an ISO9660 image w/o RockRidge "Thomas Schmitt" <scdbackup@gmx.net> - 2016-11-09 14:10 +0100
    Re: xorriso: listing files+offsets in an ISO9660 image w/o RockRidge "Thomas Schmitt" <scdbackup@gmx.net> - 2016-11-09 14:40 +0100
      Re: xorriso: listing files+offsets in an ISO9660 image w/o RockRidge "Thomas Schmitt" <scdbackup@gmx.net> - 2016-11-09 15:20 +0100
      Re: xorriso: listing files+offsets in an ISO9660 image w/o RockRidge Jonathan Dowland <jmtd@debian.org> - 2016-11-10 12:40 +0100
    Re: xorriso: listing files+offsets in an ISO9660 image w/o RockRidge Jonathan Dowland <jmtd@debian.org> - 2016-11-10 12:40 +0100
      Re: xorriso: listing files+offsets in an ISO9660 image w/o RockRidge Jonathan Dowland <jmtd@debian.org> - 2016-11-10 13:00 +0100
        Re: xorriso: listing files+offsets in an ISO9660 image w/o RockRidge "Thomas Schmitt" <scdbackup@gmx.net> - 2016-11-10 13:30 +0100
          Re: xorriso: listing files+offsets in an ISO9660 image w/o RockRidge "Thomas Schmitt" <scdbackup@gmx.net> - 2016-11-10 15:10 +0100
        Re: xorriso: listing files+offsets in an ISO9660 image w/o RockRidge Jonathan Dowland <jmtd@debian.org> - 2016-11-10 17:40 +0100
          Re: xorriso: listing files+offsets in an ISO9660 image w/o RockRidge "Thomas Schmitt" <scdbackup@gmx.net> - 2016-11-10 19:50 +0100
            Re: xorriso: listing files+offsets in an ISO9660 image w/o RockRidge Jonathan Dowland <jmtd@debian.org> - 2016-11-11 22:20 +0100
            Re: xorriso: listing files+offsets in an ISO9660 image w/o RockRidge Jonathan Dowland <jmtd@debian.org> - 2016-11-18 16:40 +0100
            Re: xorriso: listing files+offsets in an ISO9660 image w/o RockRidge Jonathan Dowland <jmtd@debian.org> - 2016-11-18 16:40 +0100
              Re: orriso: listing files+offsets in an ISO9660 image w/o RockRidge "Thomas Schmitt" <scdbackup@gmx.net> - 2016-11-18 17:30 +0100
                Re: orriso: listing files+offsets in an ISO9660 image w/o RockRidge Jonathan Dowland <jmtd@debian.org> - 2016-11-22 11:50 +0100
                Re: xorriso: listing files+offsets in an ISO9660 image w/o RockRidge "Thomas Schmitt" <scdbackup@gmx.net> - 2016-11-22 21:50 +0100
                Re: xorriso: listing files+offsets in an ISO9660 image w/o RockRidge Jonathan Dowland <jmtd@debian.org> - 2016-11-23 16:40 +0100
                Re: orriso: listing files+offsets in an ISO9660 image w/o RockRidge Jonathan Dowland <jmtd@debian.org> - 2016-11-23 16:50 +0100
                Re: xorriso: listing files+offsets in an ISO9660 image w/o RockRidge "Thomas Schmitt" <scdbackup@gmx.net> - 2016-11-23 17:00 +0100
                Re: xorriso: listing files+offsets in an ISO9660 image w/o RockRidge "Thomas Schmitt" <scdbackup@gmx.net> - 2016-11-23 19:40 +0100
                Re: orriso: listing files+offsets in an ISO9660 image w/o RockRidge Jonathan Dowland <jmtd@debian.org> - 2016-11-23 17:00 +0100
      Re: xorriso: listing files+offsets in an ISO9660 image w/o RockRidge "Thomas Schmitt" <scdbackup@gmx.net> - 2016-11-10 15:30 +0100
        Re: xorriso: listing files+offsets in an ISO9660 image w/o RockRidge Jonathan Dowland <jmtd@debian.org> - 2016-11-10 15:50 +0100
        Re: xorriso: listing files+offsets in an ISO9660 image w/o RockRidge Brian <ad44@cityscape.co.uk> - 2016-11-10 16:40 +0100
  Re: xorriso: listing files+offsets in an ISO9660 image w/o RockRidge Jonathan Dowland <jmtd@debian.org> - 2016-11-09 18:10 +0100

csiph-web