From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1OfbOW-00022o-4d for mharc-grub-devel@gnu.org; Sun, 01 Aug 2010 12:28:12 -0400 Received: from [140.186.70.92] (port=48713 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OfbOP-0001bX-3I for grub-devel@gnu.org; Sun, 01 Aug 2010 12:28:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OfahA-00060T-TZ for grub-devel@gnu.org; Sun, 01 Aug 2010 11:43:27 -0400 Received: from mail-bw0-f41.google.com ([209.85.214.41]:41186) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OfahA-00060B-OC for grub-devel@gnu.org; Sun, 01 Aug 2010 11:43:24 -0400 Received: by bwz9 with SMTP id 9so1781431bwz.0 for ; Sun, 01 Aug 2010 08:43:23 -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 :x-enigmail-version:content-type; bh=WuUawPTgOhqu191GKlPI9dWvW6QkgLasE0v3Q7g0Amw=; b=tvFCi3wyK5oF1Nr/QLddVTM+wT1JmneG2GsvGtYOl5Phr0LNlXVPll9vVOOVdsnt4n y01Cidg0abuCYZEjRCYhv7eHs3dtSZaXOZH6GojiuzIol5ylrI/DXvjg3xiiEHXn8v9W MwCQjST7FRTQiWAwYYsf0P3LE49DjN9bWoO/s= 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:x-enigmail-version:content-type; b=BKEDfQoOwlrZJi0B7t8E0941YK+Ezy2hMmC5l+B7Ydhl42sp5caJi9nshYf90DvAn6 UQF3fhhk8xEq1nWLC/mohFGkCbePoTIDfzj6SRSK39zK79YvLPQjhZ151BUG9aNfqJ+v Qtd0qQ7UDLzJ2xsi7pmaNcQAd5bcfL73EOLjc= Received: by 10.204.6.75 with SMTP id 11mr3175456bky.95.1280677401553; Sun, 01 Aug 2010 08:43:21 -0700 (PDT) Received: from debian.bg45.phnet (195-75.203-62.cust.bluewin.ch [62.203.75.195]) by mx.google.com with ESMTPS id s17sm3311979bkx.6.2010.08.01.08.43.19 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 01 Aug 2010 08:43:20 -0700 (PDT) Message-ID: <4C558924.2040201@gmail.com> Date: Sun, 01 Aug 2010 16:48:04 +0200 From: =?UTF-8?B?VmxhZGltaXIgJ8+GLWNvZGVyL3BoY29kZXInIFNlcmJpbmVua28=?= User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.10) Gecko/20100620 Icedove/3.0.5 MIME-Version: 1.0 To: grub-devel@gnu.org References: <4C511DF0.3080306@gmail.com> In-Reply-To: <4C511DF0.3080306@gmail.com> X-Enigmail-Version: 1.0.1 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="------------enig270F4863BA883011B92C542C" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) Subject: Re: Fallback to scanning OF tree if no devaliases X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 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: Sun, 01 Aug 2010 16:28:08 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig270F4863BA883011B92C542C Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable As I already told on IRC such a behaviour isn't of a good design. A simple example is when one add a devalias and then all other disks disappear. Moreover in experimental branch I have a solution for such a problem: we scan all the devices and then show only the simpliest form. That code just needs some testing. Could you do that? I'm sorry for not having been available for last few days and this resulted in a mountain of useless work by Doug and Lennart. I assume that the rest of this thread is a discussion of this issue and is moot given the code which is already in experimental. If it's not a case please start a new thread per issue On 07/29/2010 08:21 AM, Doug Nazar wrote: > Lennart, try giving this patch a whirl. In the case after we scan the > aliases list and we haven't found any block devices it will now try to > scan the entire tree. It kinda worked under OpenBios although I ran > into another bug where it can't open a device path that it gave me for > the pci ide controller. It found the other 2 drives fine. > > I think this maintains the correct balance of using short pretty names > if available but working if they are not available. > > There is a case where it will mess up however. If you only specify an > alias for one device but need another device to build a raid or lvm it > will fail. Although, thinking about it, this already would happen. > > As always, you can specify the either path manually. > > Doug > > > _______________________________________________ > Grub-devel mailing list > Grub-devel@gnu.org > http://lists.gnu.org/mailman/listinfo/grub-devel > =20 --=20 Regards Vladimir '=CF=86-coder/phcoder' Serbinenko --------------enig270F4863BA883011B92C542C Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iF4EAREKAAYFAkxViSQACgkQNak7dOguQgmW6gEAi+aB9zhwabOCnQl+AJQG1oi7 ZWoodt19253Nqc1BCGwA/1xb0aS5Td+XdVpm9ve64jQtn/XNMR2MJNp7D650amdQ =3qzr -----END PGP SIGNATURE----- --------------enig270F4863BA883011B92C542C--