[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Customizable fs.lst order
From: |
Vladimir 'phcoder' Serbinenko |
Subject: |
Re: Customizable fs.lst order |
Date: |
Wed, 14 Oct 2009 08:19:39 +0200 |
User-agent: |
Mozilla-Thunderbird 2.0.0.22 (X11/20090701) |
Seth Goldberg wrote:
> Hi,
>
> In thinking of optimizing the number of disk operations for various
> operating systems deploying grub, the order of filesystems came up as
> a simple way to reduce the amount of processing. If, for example,
> GRUB2 is deployed on Solaris, and the main use-case is to boot
> Solaris, there there are really only 2 filesystems involed -- either
> UFS (via the ufs1 module) or ZFS. Currently, the fs.lst is sorted
> alphabetically, so those two filesystems would be the last to be
> probed, wasting time. Besides hand-editing the filesystem order, are
> there any plans to include an override or setting for "preferred"
> filesystems in a particular GRUB2 deployment?
>
fs module autoloading is used only for interractive commands and is last
resort on booting. In particular it isn't done if correct module is
already inserted. So just insmod <your fs> before accessing your
filesystem. Look at grub-mkconfig on how it's done
2009-08-23 Vladimir Serbinenko <address@hidden>
* commands/search.c (search_fs): Try searching without autoload
first.
* util/grub-mkconfig_lib.in (prepare_grub_to_access_device): Load
filesystem module explicitly for faster booting.
> --S
>
>
> _______________________________________________
> Grub-devel mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/grub-devel
>
--
Regards
Vladimir 'phcoder' Serbinenko
Personal git repository: http://repo.or.cz/w/grub2/phcoder.git