Don't stat devices unless we have to.
* grub-core/kern/emu/getroot.c (grub_find_device): Recognize dir == /dev/mapper. (grub_guess_root_device): Use already known os_dev if possible. * grub-core/kern/emu/hostdisk.c (convert_system_partition_to_system_disk): Scan only in /dev/mapper if device is known to be a dm one. Also-By: Colin Watson <cjwatson@ubuntu.com>
This commit is contained in:
parent
f35fa3a664
commit
f767c929f2
3 changed files with 34 additions and 14 deletions
12
ChangeLog
12
ChangeLog
|
@ -1,3 +1,15 @@
|
|||
2011-05-21 Colin Watson <cjwatson@ubuntu.com>
|
||||
2011-05-21 Vladimir Serbinenko <phcoder@gmail.com>
|
||||
|
||||
Don't stat devices unless we have to.
|
||||
|
||||
* grub-core/kern/emu/getroot.c (grub_find_device): Recognize
|
||||
dir == /dev/mapper.
|
||||
(grub_guess_root_device): Use already known os_dev if possible.
|
||||
* grub-core/kern/emu/hostdisk.c
|
||||
(convert_system_partition_to_system_disk): Scan only in /dev/mapper
|
||||
if device is known to be a dm one.
|
||||
|
||||
2011-05-20 Colin Watson <cjwatson@ubuntu.com>
|
||||
|
||||
* util/grub-mkconfig.in: Export GRUB_CMDLINE_LINUX_XEN_REPLACE and
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue