74cbf5bdcb
* 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. * conf/common.rmk (grub_mkdevicemap_SOURCES): Add kern/env.c, kern/err.c, kern/list.c, kern/misc.c, and kern/emu/mm.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. |
||
---|---|---|
.. | ||
efi | ||
emu | ||
generic | ||
i386 | ||
ieee1275 | ||
mips | ||
powerpc | ||
sparc64 | ||
x86_64 | ||
command.c | ||
corecmd.c | ||
device.c | ||
disk.c | ||
dl.c | ||
elf.c | ||
env.c | ||
err.c | ||
file.c | ||
fs.c | ||
handler.c | ||
list.c | ||
main.c | ||
misc.c | ||
mm.c | ||
parser.c | ||
partition.c | ||
rescue_parser.c | ||
rescue_reader.c | ||
term.c | ||
time.c |