[syslinux] [PATCH 1/2] Support iso images over 2GB in isohybrid
Geert Stappers
stappers at stappers.nl
Fri May 1 05:43:53 PDT 2009
Op 20090424 om 18:59 schreef Pascal Terjan:
> "use integer" limits integers to 2^31-1 on 32 bits, which makes
> imgsize to be -1 on DVD images
>
> Signed-off-by: Pascal Terjan <pterjan at mandriva.com>
> ---
> utils/isohybrid.in | 3 +--
> 1 files changed, 1 insertions(+), 2 deletions(-)
>
> diff --git a/utils/isohybrid.in b/utils/isohybrid.in
> index 4671036..e98c59f 100644
> --- a/utils/isohybrid.in
> +++ b/utils/isohybrid.in
> @@ -17,7 +17,6 @@
> #
>
> use bytes;
> -use integer;
> use Fcntl;
>
> # Use this fake geometry (zipdrive-style...)
> @@ -92,7 +91,7 @@ $cylsize = $h*$s*512;
> $frac = $imgsize % $cylsize;
> $padding = ($frac > 0) ? $cylsize - $frac : 0;
> $imgsize += $padding;
> -$c = $imgsize/$cylsize;
> +$c = int($imgsize/$cylsize);
> if ($c > 1024) {
> print STDERR "Warning: more than 1024 cylinders ($c).\n";
> print STDERR "Not all BIOSes will be able to boot this device.\n";
Euh, I can't find the above patch in Syslinux git,
nor I can't find a mail follow-up.
That could be my failure, but i think a reminder would harm ...
More information about the Syslinux
mailing list