From: Colin Watson Date: Tue, 1 Jun 2010 17:30:20 +0000 (+0100) Subject: Add btrfs probing support, currently only in the single-device case. X-Git-Tag: 1.99~861 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=bde4a9ac1d4b5d5e12772d6a4142f30b9de7a643;p=thirdparty%2Fgrub.git Add btrfs probing support, currently only in the single-device case. * kern/emu/getroot.c (find_root_device_from_mountinfo): New function. (grub_guess_root_device): Call find_root_device_from_mountinfo before looking in /dev. --- bde4a9ac1d4b5d5e12772d6a4142f30b9de7a643 diff --cc ChangeLog index c388ebd27,a8e3e5284..de0b62f08 --- a/ChangeLog +++ b/ChangeLog @@@ -1,59 -1,3 +1,68 @@@ ++2010-06-01 Colin Watson ++ ++ Add btrfs probing support, currently only in the single-device case. ++ ++ * kern/emu/getroot.c (find_root_device_from_mountinfo): New ++ function. ++ (grub_guess_root_device): Call find_root_device_from_mountinfo ++ before looking in /dev. ++ +2010-05-31 Vladimir Serbinenko + + * disk/i386/pc/biosdisk.c (grub_biosdisk_open): Use + GRUB_DISK_SIZE_UNKNOWN. + * disk/ieee1275/ofdisk.c (grub_ofdisk_open): Likewise. + +2010-05-31 Jiro SEKIBA + + * include/grub/disk.h (GRUB_DISK_SIZE_UNKNOWN): New macro. + * fs/nilfs.c: Support 2nd super block in case 1st one is accidently + corrupted or not synced properly. + +2010-05-31 Vladimir Serbinenko + + * normal/main.c (grub_normal_add_menu_entry): Avoid going out of args. + Reported by: Seth Goldberg. + +2010-05-31 Vladimir Serbinenko + + * loader/multiboot_mbi2.c (grub_multiboot_make_mbi): Fix incorrect + addition of dest. + Reported by: Seth Goldberg. + +2010-05-31 Vladimir Serbinenko + + * commands/setpci.c (grub_setpci_iter): Fix an incorrect function check. + Reported by: Seth Goldberg. + +2010-05-31 Vladimir Serbinenko + + * loader/multiboot_elfxx.c (grub_multiboot_load_elfXX) [__mips]: Check + 64-bit address as signed on MIPS. + +2010-05-28 Colin Watson + + * configure.ac: AC_PROG_LEX sets LEX to ":" if lex is missing, not + to the empty string. + +2010-05-28 BVK Chaitanya + + Fix grub-emu issues on NetBSD, with gcc 4.1.3. + + * conf/any-emu.rmk: Remove unnecessary COMMON_CFLAGS. + * include/grub/emu/misc.h (canonicalize_file_name): New Prototype. + * kern/misc.c (__enable_execute_stack): Disable on + GRUB_MACHINE_EMU. + +2010-05-28 Colin Watson + + Make grub-probe work with symbolic links under /dev/mapper as well + as with real block devices. The Linux world seems to be (at best) + in transition here, and GRUB shouldn't get caught in the middle. + + * kern/emu/getroot.c (find_root_device): Follow symbolic links under + /dev/mapper. + 2010-05-27 Colin Watson * util/grub-script-check.c (main): Ensure defined behaviour on empty