From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1MxxDD-0001A3-AE for mharc-grub-devel@gnu.org; Wed, 14 Oct 2009 02:19:51 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MxxDA-00018l-N9 for grub-devel@gnu.org; Wed, 14 Oct 2009 02:19:48 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MxxD5-00015Y-M1 for grub-devel@gnu.org; Wed, 14 Oct 2009 02:19:48 -0400 Received: from [199.232.76.173] (port=37217 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MxxD5-00015P-1V for grub-devel@gnu.org; Wed, 14 Oct 2009 02:19:43 -0400 Received: from mail-fx0-f205.google.com ([209.85.220.205]:63494) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MxxD4-0007sm-Jj for grub-devel@gnu.org; Wed, 14 Oct 2009 02:19:42 -0400 Received: by fxm1 with SMTP id 1so9263255fxm.31 for ; Tue, 13 Oct 2009 23:19:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=i4yJ1B/lVQBRem178FgYXzuHGAkeBtL/DwXYq0eOuug=; b=dUyij8CH9/rQ01qNqtJkmdna/oj+WTELtPA9ytE5ti8qcUP0ATuh4i7K47v58qZnhd QblaSjests0uhbfI1AfKNjdYEPpCUJLJMdU4oqb33zkgMX0qGS3091TuinbZfow3mAT5 wbXHoFeBE06uOXKIj+1kxvCMGHeQQHWqJjxb8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=WiBT/R/1fFToaNo66cySPoba5BJ8SeKj94cYJlmZukkFf7qzGBiaImTgvhW1guYcaL eVXu6x0iqk236ixuGYxeNGkYkMQhORsgAQl2s1ycEdATwziyT/yrnFcfrhBUV5Lyg6I/ laJ90nbIycvd4qoVYjAft1auBH8flOX4/O3lo= Received: by 10.204.160.65 with SMTP id m1mr6816908bkx.193.1255501180748; Tue, 13 Oct 2009 23:19:40 -0700 (PDT) Received: from debian.bg45.phnet (hg-public-dock-208-dhcp.ethz.ch [82.130.80.208]) by mx.google.com with ESMTPS id 4sm957855fgg.23.2009.10.13.23.19.39 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 13 Oct 2009 23:19:40 -0700 (PDT) Message-ID: <4AD56D7B.6000305@gmail.com> Date: Wed, 14 Oct 2009 08:19:39 +0200 From: Vladimir 'phcoder' Serbinenko User-Agent: Mozilla-Thunderbird 2.0.0.22 (X11/20090701) MIME-Version: 1.0 To: The development of GRUB 2 References: In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Subject: Re: Customizable fs.lst order X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Oct 2009 06:19:48 -0000 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 before accessing your filesystem. Look at grub-mkconfig on how it's done 2009-08-23 Vladimir Serbinenko * 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