Received: from list by lists.gnu.org with archive (Exim 4.90_1) id 1lX3L1-0003xQ-5x for mharc-grub-devel@gnu.org; Thu, 15 Apr 2021 10:51:23 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40902) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lX3Kz-0003w9-JF for grub-devel@gnu.org; Thu, 15 Apr 2021 10:51:21 -0400 Received: from ionic.de ([2001:41d0:a:588b:1::2]:56819 helo=mail.ionic.de) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lX3Kx-0008Fz-Bj for grub-devel@gnu.org; Thu, 15 Apr 2021 10:51:21 -0400 Authentication-Results: root24.eu; spf=softfail (domain owner discourages use of this host) smtp.mailfrom=ionic.de (client-ip=217.92.117.31; helo=home.ionic.de; envelope-from=ionic@ionic.de; receiver=) Received: from [192.168.0.46] (home.ionic.de [217.92.117.31]) by mail.ionic.de (Postfix) with ESMTPSA id 2C5AC4F017FB for ; Thu, 15 Apr 2021 14:51:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ionic.de; s=default; t=1618498273; bh=GQCNsns4pMa5LwwCUmv4AN64k6MkvgPmjiGxf4UP3/I=; h=To:References:From:Subject:Date:In-Reply-To:From; b=AQU5B77Kd0QNtiFU4KORQxreVf5Oyms9SKn/iohpZl09+diNDnl963ys3VfIHrzXv 6Ujbk10johiG+JJEQ/0kwcuiWaWqJeOQartmFKclg1s9IKjPTcIunW44dErlpwuWjw C/Q74XHs3n7sxqvWTKM9bskULSqQoBcDjRhfU0dI= To: grub-devel@gnu.org References: <20210304190105.1345-1-vkuzmichev@dev.rtsoft.ru> <20210415135907.18557-1-vkuzmichev@dev.rtsoft.ru> From: Mihai Moldovan Subject: Re: [PATCH v3] commands/search: Add support to search by PARTUUID Message-ID: <19031c15-605c-3bca-b66d-a1b3d7d00a5b@ionic.de> Date: Thu, 15 Apr 2021 16:51:12 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.6.0 MIME-Version: 1.0 In-Reply-To: <20210415135907.18557-1-vkuzmichev@dev.rtsoft.ru> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="0Mmp8CzZLFkq1ECDyJBsvOEwstmwgEciG" Received-SPF: pass client-ip=2001:41d0:a:588b:1::2; envelope-from=ionic@ionic.de; helo=mail.ionic.de X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, NICE_REPLY_A=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Apr 2021 14:51:21 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --0Mmp8CzZLFkq1ECDyJBsvOEwstmwgEciG Content-Type: multipart/mixed; boundary="BwRLZH33sfWr7mmLfkv60AqiF6G1IuKMb"; protected-headers="v1" From: Mihai Moldovan To: grub-devel@gnu.org Message-ID: <19031c15-605c-3bca-b66d-a1b3d7d00a5b@ionic.de> Subject: Re: [PATCH v3] commands/search: Add support to search by PARTUUID References: <20210304190105.1345-1-vkuzmichev@dev.rtsoft.ru> <20210415135907.18557-1-vkuzmichev@dev.rtsoft.ru> In-Reply-To: <20210415135907.18557-1-vkuzmichev@dev.rtsoft.ru> --BwRLZH33sfWr7mmLfkv60AqiF6G1IuKMb Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable * On 4/15/21 3:59 PM, Vitaly Kuzmichev via Grub-devel wrote: > Improve 'search' grub-shell command with functionality to search for > a partition by PARTUUID string. This is useful on systems where FSUUID > is not guaranteed to be constant, e.g. it is not preserved between > system updates, and modifying grub.cfg is undesired. This is also incredibly useful in case you want to select a specific devi= ce in a RAID1 setup (if supported, for instance Linux swraid with 0.9 or 1.0 meta= data). While it would be safe to read from devices, there currently is no way to= point grub directly to a specific device other than hardcoding it (and that's dangerous, since the system firmware can remap devices as it sees fit). Mihai --BwRLZH33sfWr7mmLfkv60AqiF6G1IuKMb-- --0Mmp8CzZLFkq1ECDyJBsvOEwstmwgEciG Content-Type: application/pgp-signature; name="OpenPGP_signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="OpenPGP_signature" -----BEGIN PGP SIGNATURE----- wsF5BAABCAAjFiEEbhHQj3UzgcdE8cg8H9Yu2W4lOocFAmB4UuAFAwAAAAAACgkQH9Yu2W4lOoeN BBAApz0VxwOpUBQIYLDXA9iWQOODFtzT8kZGhaT9KMu7HfsBiWbd2VEROW0EHWSi4MAsV1eHvKOr JQbCR6Ds2nIU5oLuXPtKD/k7WLAoRjVEfGUiVNkUimZWN0m1bga4i+dPTsuHmEb3qV+JkNTT+ih4 n9aa6D+WJW5ldZIJzJfax4/ydNuowBtQkZniJczcZJI/wlj15m7gqwY7nMc3ntF4yO67aB4YC68Y xa0rxLpXYZyeesa5lZfUnegKr8htDiJQ3JLVOWkUihH5XQiLwkGj4o1dgMtKfn0HlESB1XZqb9EP Ax8of696bJrbbgq/ILBfIBsw/6OduTL+a2lTem3rdHAnSP/aPzWBzKlCWB8ueAXY+XYHIOuuWHxF PJ0/faImBEdG71op4cjBBYVr2eqtkUfYwNhMb8fb5VTxZkmrgggroTtm7IJ8mfmzYw96H0qrvMX7 MFrKzpS8vmIHR4aoHJvdNjVUwEvU9nUWiQVLbyg4th31woRIa02ZFipNwM2YAX/s8T7uxDw8bLKk h7rdEuI1V39RtDd6x6qJTF9FFcNeFc8l1+Iv0PNnZFTMRjwewygYVwcPmBF3CicICFPIBWw1yDr5 GtOaNqG6SlYLnzLU+2TppSx/ki2jTeQV3Yx5m3jdRDVWwza7ntmT1QMHhoYatOkEa7d7CfNzKnTs QWk= =K3/H -----END PGP SIGNATURE----- --0Mmp8CzZLFkq1ECDyJBsvOEwstmwgEciG--