Displaying 9 results from an estimated 9 matches for "imgsiz".
Did you mean:
imgsize
2009 Apr 24
1
[PATCH 1/2] Support iso images over 2GB in isohybrid
"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/isohybr...
2005 Mar 16
1
.Call - applying setAttrib(x, R_DimSymbol, s) to a matrix being an element of a list
...a vector for the list element i
SET_VECTOR_ELT(result, i, allocVector(INTSXP, size[0] * size[1]));
// getting a pointer to the element to simlify coding
SEXP element = VECTOR_ELT(result, i);
// writing some values to the element
// converting element into a matrix
setAttrib(element, R_DimSymbol, imgSize);
Thanks in advance for help
Oleg
Dr Oleg Sklyar
European Bioinformatics Institute
Wellcome Trust Genome Campus
Hinxton, Cambridge, CB10 1SD
England
phone/fax +44(0)1223 49 4478/4468
e-mail osklyar@ebi.ac.uk
2014 Jun 21
1
isohybrid has 2 variants
Op 2014-06-20 om 15:56 schreef Ady:
>
> The Perl variant, isohybrid.in, seems to be getting left behind
> regarding several patches. I don't recall whether there is at least
> some mention in the isohybrid docs about the existence of 2 variants
> included in Syslinux (and that is in addition to other isohybrid
> methods outside Syslinux). Is there any reference?
>
2009 May 26
2
Syslinux 3.81-pre14... hopefully final this time
I have addressed all the issues that I know about (including, hopefully,
the isohybrid version dependence...). I would like to release this this
week so please let me know as soon as possible if this version is "go".
-hpa
--
H. Peter Anvin, Intel Open Source Technology Center
I work for Intel. I don't speak on their behalf.
2015 Feb 20
0
isohybrid and ISO images whose size is not a multiple of 2048 bytes vs. VirtualBox
>
> Same result as yours.
>
>
> Have a nice day :)
>
> Thomas
>
I was under the impression (apparently the wrong one) that your
pseudo-code was adding 4 cylinders to the first example, from 132 to
136, which would be non-optimal. Since I am not a developer, I believe
you when you say that such jump won't happen :). Perhaps the code will
be more clear to me
2015 Feb 20
2
isohybrid and ISO images whose size is not a multiple of 2048 bytes vs. VirtualBox
Hi,
my proposal is based on a mathematical proof (see mail
before) and yours is correct too. They cannot but match.
Let's inspect your examples:
Ady wrote:
> ISO size: 1'085'736'960 bytes ( > 1GiB)
This are exactly 132 cylinders of 255x63.
132 is divisible by 4. So there is no padding needed.
> Cylinders (1st attempt)=132
> [...]
> 2120580 / 4 = 530145, so
2010 Sep 13
5
isohybrid: seek error - 6: Invalid argument
...144709
ve[8]: 26997, cs: 171706
ve[9]: 27749, cs: 199455
ve[10]: 20512, cs: 219967
ve[11]: 31343, cs: 251310
ve[12]: 27002, cs: 278312
ve[13]: 32, cs: 278344
ve[14]: 5731, cs: 284075
ve[15]: 43605, cs: 327680
de_boot: 136
de_media: 0
de_seg: 0
de_sys: 0
de_mbz1: 0
de_count: 4
de_lba: 327
de_mbz2: 0
imgsize: 2265417728, padding: 555008
isohybrid: Warning: more than 1024 cylinders: 2161
isohybrid: Not all BIOSes will be able to boot this device
id: 281396446
sizeof(MBR): 512 bytes
...
0432 1c 05 00 00 00 00 00 00 de c4 c5 10 00 00 80 00 |................|
0448 01 00 17 3f e0 ff 00 00 00 00 00 88...
2015 Feb 20
4
isohybrid and ISO images whose size is not a multiple of 2048 bytes vs. VirtualBox
...or * 512;
- frac = isostat.st_size % cylsize;
- padding = (frac > 0) ? cylsize - frac : 0;
+ align_cylsize = cylsize * align_factor;
+ frac = isostat.st_size % align_cylsize;
+ padding = (frac > 0) ? align_cylsize - frac : 0;
if (mode & VERBOSE)
printf("imgsize: %zu, padding: %d\n", (size_t)isostat.st_size, padding);
------------------------------------------------------------------------
I wrapped the essential code into a standalone program for
playing with a few numbers:
-h 255 -s 63 , ISO size 1085739008 :
align_factor= 4 , padding= 3289907...
2011 Aug 05
3
isolinux: Generate GPT and Mac bootable images
...rt(descriptor.block_size);
+ free_space = isostat.st_size - isosize;
+
cylsize = head * sector * 512;
frac = isostat.st_size % cylsize;
padding = (frac > 0) ? cylsize - frac : 0;
@@ -508,7 +961,7 @@ main(int argc, char *argv[])
if (mode & VERBOSE)
printf("imgsize: %zu, padding: %d\n", (size_t)isostat.st_size, padding);
- cc = c = (isostat.st_size + padding) / cylsize;
+ cc = c = ( isostat.st_size + padding) / cylsize;
if (c > 1024)
{
warnx("Warning: more than 1024 cylinders: %d", c);
@@ -548,6 +1001,62 @@ main(i...