Bug#505381: genisoimage: writes blank sectors

2021-07-04 Thread Sam Trenholme

OK, some updates for 2021:

* genisoimage is officially marked "abandoned" and should not be used 
(time stamps will start break come 2028; I've fixed the bug but there's 
no genisoimage maintainer to update the program with the fix).  See 
https://wiki.debian.org/genisoimage for end-of-life notice


* As per that Wiki page, the official answer is to use xorrisofs, which 
yes has fixed (or never had) this "blank sector" bug


* I have made my own fork of genisoimage, iso9660, which fixes this bug 
and the bug with post-2027 timestamps: https://github.com/samboy/iso9660


- Sam


This behavior (or one very similar to it) appears to still be present,
five and a half years later. The patch still appears to apply (albeit
with considerable a offset) against current upstream SVN.

I have not managed to find any indication of what the reason for adding
these blank sectors is supposed to be. The code in question appears to
date all the way back to the original import of mkisofs into Subversion,
so there's no help there.

Any chance of either getting this patch applied, or at least figuring
out a reason why it would be a bad idea?

>
>



Bug#505381: genisoimage: writes blank sectors

2014-06-13 Thread The Wanderer
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

This behavior (or one very similar to it) appears to still be present,
five and a half years later. The patch still appears to apply (albeit
with considerable a offset) against current upstream SVN.

I have not managed to find any indication of what the reason for adding
these blank sectors is supposed to be. The code in question appears to
date all the way back to the original import of mkisofs into Subversion,
so there's no help there.

Any chance of either getting this patch applied, or at least figuring
out a reason why it would be a bad idea?
-BEGIN PGP SIGNATURE-
Version: GnuPG v1
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBCgAGBQJTmzLDAAoJEASpNY00KDJrbKkP/16p+KD924ulw9uNTLl9fiy8
RW3WTiMqK8Hv8izcOk+nfTZlLBWDMdFsUHTqWsw4xhgCN+F6KauVDAy1eB82FrEx
8KTCTpb7H0fCrXzY9WArQBPSWAAF/lWn5/dRmw4ZuJUaaAmsZcYRxl1E4cxB+CEF
Aoctd0gk3jccQ9Qd+IwzIc5eM2eP1HwHWYfoLoVs7aOlnAWLQ2vt4tnR1nW3YXcG
uGUIkcP662l7taIJRW2NsT31AdWXneDrZ3dnHLaORjnrKBzkuFhg0mdRmaKQqzE7
91Tg5L+H/mH9lusfRqkR038dIZy2YoZdpRtcsDkn0iLqvxa3DKVxR3dUZj+Id2+C
lhhvTQ2K/1MPVf/FF6mP5ubo7h4V/Vk1K4AQPh9k+RQBRc829njy9HMPcCAdFW2v
bAYcESqWmrzNY7HjCVb3rVMVm5SKL3BG5IfwflWBm/+0zr6z970Y7ufHtlnrdzrr
KL10nAKg8yh9r4sWYDl2iB007M7bKVLplQsExdh+x6Dj7O5Oiwkub523/zaa4nYu
eu0HibpVgGdmi6xE547UucNCf7bOl6TPAfsbiQihwXC3HDNx9fCUb5CkzMgFlPcz
l9GRhordnborQzTwTbIimMWFv/OaGwKDFW8Mn4mczGyCmCQoVx68lx8smjVfghuv
lkyl/b0kz5TcaoUBzOw3
=+qSF
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#505381: genisoimage: writes blank sectors

2008-11-20 Thread Steve McIntyre
On Tue, Nov 11, 2008 at 10:08:02PM +, Eduardo Pérez Ureta wrote:
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.

Cool, thanks. I'll take a look.

-- 
Steve McIntyre, Cambridge, UK.[EMAIL PROTECTED]
I suspect most samba developers are already technically insane... Of
 course, since many of them are Australians, you can't tell. -- Linus Torvalds




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#505381: genisoimage: writes blank sectors

2008-11-11 Thread Eduardo Pérez Ureta
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