From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1Mz9Vs-0007eU-IO for mharc-grub-devel@gnu.org; Sat, 17 Oct 2009 09:40:04 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Mz9Vp-0007d3-RA for grub-devel@gnu.org; Sat, 17 Oct 2009 09:40:01 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Mz9Vk-0007bx-Ui for grub-devel@gnu.org; Sat, 17 Oct 2009 09:40:01 -0400 Received: from [199.232.76.173] (port=51847 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mz9Vk-0007bs-Mg for grub-devel@gnu.org; Sat, 17 Oct 2009 09:39:56 -0400 Received: from mail-fx0-f228.google.com ([209.85.220.228]:44423) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Mz9Vk-0000rE-8k for grub-devel@gnu.org; Sat, 17 Oct 2009 09:39:56 -0400 Received: by fxm28 with SMTP id 28so3423585fxm.42 for ; Sat, 17 Oct 2009 06:39:55 -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=PpHUkqU2er4nNRckNyFQAgTG9j+EjWinwNy3DFmXm+0=; b=Q2+WrqAlxFjKI1ORCdomaVMEBS7xii+/fv01TShrDkrrHs+MIbmpRf/V/QjKl0BIwX ShUhYwIexSytLG8QckQT3nIsPt4UkmHkgUZ/wBu72KC9GmYAlRqrwF/95q2RVn4ZQkEy s/x2mFemgrTWKDsBpFGTqcoxEuf09sD/J5ecw= 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=v8YCtTlwAbE/b57+kbqCh6HShTtyMmXoluFROC9hORIGONOMEZTCtuW4Ltc7n+CYD1 NTC00LZAzeBBCld5O40bn21U7VbtwEDV+HOGQ/DIcJmJN1veJADpZWnkYewjlswpxXw8 eMdngRUN2bo1ahHX8spp7ZWGKFqnyEXZ/obw8= Received: by 10.204.175.80 with SMTP id w16mr2464283bkz.207.1255786795095; Sat, 17 Oct 2009 06:39:55 -0700 (PDT) Received: from debian.bg45.phnet (50-157.203-62.cust.bluewin.ch [62.203.157.50]) by mx.google.com with ESMTPS id 14sm350766bwz.5.2009.10.17.06.39.52 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 17 Oct 2009 06:39:53 -0700 (PDT) Message-ID: <4AD9C926.8030104@gmail.com> Date: Sat, 17 Oct 2009 15:39:50 +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: <4AD9B795.6000201@parallels.com> In-Reply-To: <4AD9B795.6000201@parallels.com> 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: [patch] incorrect root device while /dev/ on tmpfs 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: Sat, 17 Oct 2009 13:40:02 -0000 Vasily Averin wrote: > While /dev mounted as tmpfs it does not contain /dev/disk/by-uuid directory, > 10_linux script did not check it properly and do not set root device via UUID. > Therefore following kernel boot can fail (incorrect root device) if device names > was changed. > > I would be inclined to say that for mainline presence of /dev/disk/by-uuid is a reasonable indication that initrd supports root specified by UUID. If it's not present then we should assume initrd is dumb and doesn't recognises UUID= and just hardcode the device. The distributors can modify it as they see fit. > Attached path fixes this issue. Please review and commit it > > thank you, > Vasily Averin > > > ------------------------------------------------------------------------ > > _______________________________________________ > 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