2010-01-31 19:37:37 +00:00
|
|
|
2010-01-31 Colin Watson <cjwatson@ubuntu.com>
|
2010-01-25 17:47:51 +00:00
|
|
|
|
|
|
|
* configure.ac: Check for Linux device-mapper support.
|
2010-01-26 14:26:16 +00:00
|
|
|
|
2010-01-25 17:47:51 +00:00
|
|
|
* util/hostdisk.c (device_is_mapped): New function.
|
|
|
|
(find_partition_start): New function, partly broken out from
|
|
|
|
linux_find_partition and grub_util_biosdisk_get_grub_dev but with
|
|
|
|
device-mapper support added.
|
|
|
|
(linux_find_partition): Use find_partition_start.
|
|
|
|
(convert_system_partition_to_system_disk): Add `st' argument.
|
|
|
|
Support Linux /dev/mapper/* devices if device-mapper support is
|
|
|
|
available; only DM-RAID devices are understood at present.
|
|
|
|
(find_system_device): Add `st' argument. Pass it to
|
|
|
|
convert_system_partition_to_system_disk.
|
|
|
|
(grub_util_biosdisk_get_grub_dev): Pass stat result to
|
|
|
|
find_system_device and convert_system_partition_to_system_disk. Use
|
|
|
|
find_partition_start.
|
2010-01-26 14:26:16 +00:00
|
|
|
|
|
|
|
* conf/common.rmk (grub_mkdevicemap_SOURCES): Add kern/env.c,
|
|
|
|
kern/err.c, kern/list.c, and kern/misc.c.
|
|
|
|
* util/deviceiter.c [__linux__]: Define MINOR.
|
|
|
|
(grub_util_iterate_devices): Add support for DM-RAID disk devices.
|
|
|
|
* util/mkdevicemap.c (grub_putchar): New function.
|
|
|
|
(grub_getkey): New function.
|
|
|
|
(grub_refresh): New function.
|
|
|
|
(main): Set debug=all if -v -v is used.
|