Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RNrlM-000445-HE for mharc-grub-devel@gnu.org; Tue, 08 Nov 2011 14:55:16 -0500 Received: from eggs.gnu.org ([140.186.70.92]:41428) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RNrlK-00042j-3c for grub-devel@gnu.org; Tue, 08 Nov 2011 14:55:15 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RNrlI-0007o6-Ji for grub-devel@gnu.org; Tue, 08 Nov 2011 14:55:14 -0500 Received: from rcsinet15.oracle.com ([148.87.113.117]:45159) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RNrlI-0007nm-AD for grub-devel@gnu.org; Tue, 08 Nov 2011 14:55:12 -0500 Received: from acsinet22.oracle.com (acsinet22.oracle.com [141.146.126.238]) by rcsinet15.oracle.com (Switch-3.4.4/Switch-3.4.4) with ESMTP id pA8JtA3C008793 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Tue, 8 Nov 2011 19:55:11 GMT Received: from acsmt358.oracle.com (acsmt358.oracle.com [141.146.40.158]) by acsinet22.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id pA8Jt9j4023695 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Tue, 8 Nov 2011 19:55:10 GMT Received: from abhmt105.oracle.com (abhmt105.oracle.com [141.146.116.57]) by acsmt358.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id pA8Jt4ls010108 for ; Tue, 8 Nov 2011 13:55:04 -0600 Received: from bergsoft (/10.132.136.136) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Tue, 08 Nov 2011 11:55:03 -0800 Date: Tue, 8 Nov 2011 11:53:44 -0800 (PST) From: Seth Goldberg X-X-Sender: sethg@bergsoft To: The development of GNU GRUB Subject: Re: [PATCH] Support OpenIndiana in GRUB2 In-Reply-To: <4EB9804E.2070706@gmail.com> Message-ID: References: <4EB8839C.2000701@gmail.com> <4EB884CD.2050106@gmail.com> <4EB9804E.2070706@gmail.com> User-Agent: Alpine 2.00 (GSO 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Source-IP: acsinet22.oracle.com [141.146.126.238] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A090205.4EB9891F.00EE,ss=1,re=0.000,fgs=0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 1) X-Received-From: 148.87.113.117 X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Nov 2011 19:55:15 -0000 >> (These opinions are based on Oracle Solaris): >> Some grub entries may not specify a bootfs, in which case, GRUB should >> derive it from the bootfs property in the pool >> > bootfs is an annoying one since on-disk AFAIK only its objnum is stored > so we need to scan to determine its name. But for me it's only > backward-compatibility issue. This property shouldn't be necessary with > new or autodetected config. The key issue is that it's possible to have BEs on a system that predate the installation of GRUB2, so if one of THOSE BEs change the default bootfs (which they will, since the beadm activate subcommand does just that), the grub.cfg would be out of date. I don't see any alternative to having GRUB2 do the scan to map the bootfs object to a zfs name :(. --S