diff options
author | Francis Rowe <info@gluglug.org.uk> | 2015-01-26 11:03:56 +0000 |
---|---|---|
committer | Francis Rowe <info@gluglug.org.uk> | 2015-01-26 11:03:56 +0000 |
commit | ac9f94aab6e3082977ac7e752c834fcd52178ab2 (patch) | |
tree | 9c707751d98fa0d8d2d17abf8c956d7b281e8c53 /docs | |
parent | 1e830e02a014a6ac790e97954d1aa65674c28112 (diff) | |
download | librebootfr-ac9f94aab6e3082977ac7e752c834fcd52178ab2.tar.gz librebootfr-ac9f94aab6e3082977ac7e752c834fcd52178ab2.zip |
grub.cfg: hardcode the list of partitions to search
For libreboot_grub.cfg or ISOLINUX parsing, the old grub.cfg was
using regexp to automatically search all partitions. For example,
it was using (ahci0,*). This, and the ls, is extremely slow on
some machines. Partition/file access is itself fast, but producing
the list can be slow.
Therefore, use hardcoded entries like ahci0,1-4 (up to 4) or
usb0,1-4 instead of *. This is less flexible, but much faster
and it should still work for most people.
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions