search for: b6c2b6f

Displaying 1 result from an estimated 1 matches for "b6c2b6f".

Did you mean: b6c2863
2009 Apr 24
0
[PATCH 2/2] Preserve MBR id in isohybrid
...support setting the id using non existing to_int, but no way to use it. Signed-off-by: Pascal Terjan <pterjan at mandriva.com> --- utils/isohybrid.in | 14 ++++++++------ 1 files changed, 8 insertions(+), 6 deletions(-) diff --git a/utils/isohybrid.in b/utils/isohybrid.in index e98c59f..b6c2b6f 100644 --- a/utils/isohybrid.in +++ b/utils/isohybrid.in @@ -100,6 +100,13 @@ if ($c > 1024) { $cc = $c; } +# Preserve id when run again +seek(FILE, 440, SEEK_SET) or die "$0: $file: $!\n"; +read(FILE, $id, 4); +if ($id eq "\x00\x00\x00\x00") { + $id = pack("V...