grub/util
Felix Zielcke f058276b19 2010-07-20 Colin Watson <cjwatson@ubuntu.com>
* disk/raid.c (insert_array): Use md/%s to name mdadm 1.x devices,
	removing the homehost if present.
	* kern/emu/getroot.c (get_mdadm_name) [__linux__]: New function.
	(grub_util_get_grub_dev): Use md/%s to name mdadm 1.x devices,
	removing the homehost if present.
	(grub_util_get_grub_dev) [__linux__]: Get the array name from mdadm
	if possible.
	* util/i386/pc/grub-setup.c (main): Handle md/* devices.

	* disk/dmraid_nvidia.c (grub_dmraid_nv_detect): Add start_sector
	parameter.  Set its pointer target to 0.
	* disk/mdraid_linux.c (grub_mdraid_detect): Add start_sector
	parameter.  Set its pointer target to 0 for 0.9 metadata, or to the
	`data_offset' value from the superblock for 1.x metadata.
	* disk/raid.c (grub_raid_read): Offset reads by the start sector of
	data on the device.
	(insert_array): Record the start sector of data on the device.
	(grub_raid_register): Pass start_sector parameters to
	grub_raid_list->detect and insert_array.
	* include/grub/raid.h (struct grub_raid_array): Add start_sector
	member.
	(struct grub_raid): Add start_sector parameter to `detect'.

	* disk/mdraid_linux.c (struct grub_raid_super_1x): Remove
	__attribute__ ((packed)), leaving a comment.
	(grub_mdraid_detect): Split out 0.9 and 1.x detection to ...
	(grub_mdraid_detect_09): ... here and ...
	(grub_mdraid_detect_1x): ... here.

2010-07-20  Peter Henn  <peter.henn@web.de>

	* disk/mdraid_linux.c (grub_mdraid_detect): Fix calculation of 1.x
	chunk size and disk size, which are already given as sector counts
	as distinct from the 0.90 units.  Fetch the correct device number
	from the role table instead of using the table index.

2010-07-20  Felix Zielcke  <fzielcke@z-51.de>

	* disk/dmraid_nvidia.c (grub_dmraid_nv_detect): Set array->name to NULL.
	* disk/mdraid_linux.c (grub_raid_super_1x): New structure.
	(WriteMostly1): New macro.
	Set array->name to NULL for metadata format 0.90.  Add support for
	metadata 1.x.  Fix some comments.
	* disk/raid.c (): Add support for name based RAID arrays.  Fix a
	few comments.
	* util/getroot.c (grub_util_get_grub_dev): Add support for
	/dev/md/name style devices.

	Also-By: Peter Henn <peter.henn@web.de>

	Also-By: Colin Watson <cjwatson@ubuntu.com>
2010-07-20 11:26:27 +01:00
..
grub.d * util/grub.d/00_header.in: Process GRUB_THEME and GRUB_BACKGROUND 2010-07-06 09:42:37 +01:00
i386 * disk/raid.c (insert_array): Use md/%s to name mdadm 1.x devices, 2010-07-18 15:53:14 +01:00
ieee1275 merge with mainline 2010-06-12 16:21:10 +05:30
powerpc/ieee1275 * util/grub-mkconfig.in: Use 'set -e' rather than '#! /bin/sh -e', 2010-06-29 16:20:49 +01:00
sparc64/ieee1275 Merge mainline into bidi 2010-07-02 19:35:07 +02:00
bin2h.c 2010-01-26 Carles Pina i Estany <carles@pina.cat> 2010-01-26 21:23:59 +00:00
deviceiter.c * util/deviceiter.c (grub_util_iterate_devices): Skip MD devices, 2010-07-06 15:10:36 +01:00
devicemap.c * util/sparc64/ieee1275/misc.c: New file. 2009-04-22 09:57:39 +00:00
grub-editenv.c Merge mainline into bidi 2010-07-02 19:35:07 +02:00
grub-fstest.c Merge mainline into bidi 2010-07-02 19:35:07 +02:00
grub-install.in * util/grub-install.in: Add --debug-image= option. 2010-06-28 09:06:41 +01:00
grub-macho2img.c remove all trailing whitespace 2009-06-10 21:04:23 +00:00
grub-mkconfig.in * util/grub-mkconfig.in: Use 'set -e' rather than '#! /bin/sh -e', 2010-06-29 16:20:49 +01:00
grub-mkconfig_lib.in * util/grub-mkconfig_lib.in (uses_abstraction): New function. 2010-07-02 12:32:05 +01:00
grub-mkdevicemap.c Merge mainline into bidi 2010-07-02 19:35:07 +02:00
grub-mkfont.c Cut font borders 2010-03-29 03:13:59 +02:00
grub-mkimage.c Merge mainline into yeeloongfw 2010-06-30 02:30:05 +02:00
grub-mkimagexx.c Some cleanups 2010-04-26 21:11:16 +02:00
grub-mkpasswd-pbkdf2.c * util/grub-mkpasswd-pbkdf2.c (main): Rename top-level `c' variable 2010-06-07 14:15:57 +01:00
grub-mkrelpath.c * util/grub-mkrelpath.c (usage): Remove excess apostrophe. 2010-05-20 23:27:15 +01:00
grub-mkrescue.in * util/grub-mkrescue.in: Don't use tar GNU-ism since it's not necessary 2010-07-10 02:15:49 +02:00
grub-pe2elf.c 2010-03-04 Christian Franke <franke@computer.org> 2010-03-04 16:25:26 +01:00
grub-probe.c Merge mainline into bidi 2010-07-02 19:35:07 +02:00
grub-reboot.in merge with mainline 2010-06-12 16:21:10 +05:30
grub-script-check.c Merge mainline into bidi 2010-07-02 19:35:07 +02:00
grub-set-default.in merge with mainline 2010-06-12 16:21:10 +05:30
import_gcry.py 2010-03-05 Vladimir Serbinenko <phcoder@gmail.com> 2010-03-05 15:38:04 +01:00
import_unicode.py * util/import_unicode.py: Remove unnecessary imports. 2010-07-17 19:27:18 +01:00
lvm.c 2010-01-27 Carles Pina i Estany <carles@pina.cat> 2010-01-27 00:19:46 +00:00
misc.c * util/misc.c: Move inclusion of <limits.h> to ... 2010-05-20 23:16:10 +01:00
raid.c 2010-01-16 Carles Pina i Estany <carles@pina.cat> 2010-01-16 00:26:52 +00:00
resolve.c remove all trailing whitespace 2009-06-10 21:04:23 +00:00
update-grub_lib.in * util/grub-mkconfig_lib.in (grub_warn): New function. 2008-11-20 19:22:20 +00:00