Package: genisoimage
Version: 1.1.9-1
Severity: wishlist

I have found genisoimage adds unneeded blank sectors.

Comparing joliet images with only 1 small file

mkisofs                                  nero
sectors                                  sectors
16 blank                                 16 blank
01 Volume descriptor                     01 Volume descriptor
01 Volume descriptor Joliet              01 Volume descriptor Joliet
01 Volume Descriptor Set Terminator      01 Volume Descriptor Set Terminator
01 Version                               01 directory
01 path table little endian              01 path table little endian
01 blank                                 01 path table big endian
01 path table big endian                 01 directory joliet
01 blank                                 01 path table little endian joliet
01 path table little endian joliet       01 path table big endian joliet
01 blank                                 01 file data
01 path table big endian joliet
01 blank
01 directory
01 directory joliet
01 file data

As you can see there are 4 extra blank unneeded sectors.

I have attached the patch I have been using some years successfully.
--- cdrkit/genisoimage/genisoimage.c
+++ cdrkit/genisoimage/genisoimage.c
@@ -2896,14 +2896,8 @@
        }
 
        /* Now assign addresses on the disc for the path table. */
-
        path_blocks = ISO_BLOCKS(path_table_size);
-       if (path_blocks & 1)
-               path_blocks++;
-
        jpath_blocks = ISO_BLOCKS(jpath_table_size);
-       if (jpath_blocks & 1)
-               jpath_blocks++;
 
        /*
         * Start to set up the linked list that we use to track the contents

Reply via email to