grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Two Small Patches (x86 VolId & Sun Label Checking)


From: ehem+grub
Subject: Two Small Patches (x86 VolId & Sun Label Checking)
Date: Thu, 16 Dec 2010 21:19:31 -0800 (PST)

I've got a system with an oddball, but valid setup that is outside the
bounds of what GRUB supports. As such I'm starting to work on
familiarizing myself with GRUB2's internals on the way to solving the
problem.

I've found two issues worth fixing so far and I'm attaching patches.
First, what is refered to as "a magic number used by Windows NT" is
apparently used as a volume identifier to identify disks. Current
versions of LILO in fact use it to locate the disk holding its second
stage. Second, perhaps minor, but I'm surprised someone chose to break
the checksum verification code in grub-core/partmap/sun.c and didn't
didn't keep the magic number check with it. I hereby release the two
attached patches under GPL version 3 and subsequent varients.

I'm not very familiar with Bazaar, shouldn't be a problem. Does seem git
is taking over from Subversion.


-- 
(\___(\___(\______          --=> 8-) EHM <=--          ______/)___/)___/)
 \BS (    |         address@hidden PGP F6B23DE0         |    )   /
  \_CS\   |  _____  -O #include <stddisclaimer.h> O-   _____  |   /  _/
2477\___\_|_/DC21 03A0 5D61 985B <-PGP-> F2BE 6526 ABD2 F6B2\_|_/___/3DE0




-- 
(\___(\___(\______          --=> 8-) EHM <=--          ______/)___/)___/)
 \BS (    |         address@hidden PGP F6B23DE0         |    )   /
  \_CS\   |  _____  -O #include <stddisclaimer.h> O-   _____  |   /  _/
2477\___\_|_/DC21 03A0 5D61 985B <-PGP-> F2BE 6526 ABD2 F6B2\_|_/___/3DE0


Attachment: volid.diff
Description: Text Data

Attachment: suncheck.diff
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]