* Customizable fs.lst order
@ 2009-10-14 0:53 Seth Goldberg
2009-10-14 6:19 ` Vladimir 'phcoder' Serbinenko
0 siblings, 1 reply; 2+ messages in thread
From: Seth Goldberg @ 2009-10-14 0:53 UTC (permalink / raw)
To: The development of GRUB 2
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?
--S
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Customizable fs.lst order
2009-10-14 0:53 Customizable fs.lst order Seth Goldberg
@ 2009-10-14 6:19 ` Vladimir 'phcoder' Serbinenko
0 siblings, 0 replies; 2+ messages in thread
From: Vladimir 'phcoder' Serbinenko @ 2009-10-14 6:19 UTC (permalink / raw)
To: The development of GRUB 2
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 <phcoder@gmail.com>
* 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
> Grub-devel@gnu.org
> http://lists.gnu.org/mailman/listinfo/grub-devel
>
--
Regards
Vladimir 'phcoder' Serbinenko
Personal git repository: http://repo.or.cz/w/grub2/phcoder.git
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-10-14 6:19 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-14 0:53 Customizable fs.lst order Seth Goldberg
2009-10-14 6:19 ` Vladimir 'phcoder' Serbinenko
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.