2010-09-26 Robert Millan <rmh@gnu.org>

Support degraded ZFS arrays in "grub-probe -t device" resolution.
	
	* grub-core/kern/emu/getroot.c (find_root_device_from_libzfs): When
	the pool is an array of devices, iterate through it and return the
	first device that passes a stat() test (instead of blindly returning
	the first one).
This commit is contained in:
Robert Millan 2010-09-26 16:11:33 +02:00
parent f913083640
commit 8e57a6ca44
2 changed files with 29 additions and 11 deletions

View file

@ -1,3 +1,12 @@
2010-09-26 Robert Millan <rmh@gnu.org>
Support degraded ZFS arrays in "grub-probe -t device" resolution.
* grub-core/kern/emu/getroot.c (find_root_device_from_libzfs): When
the pool is an array of devices, iterate through it and return the
first device that passes a stat() test (instead of blindly returning
the first one).
2010-09-26 Robert Millan <rmh@gnu.org>
Build fixes for GNU/kFreeBSD.