From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1TDIpQ-0005aQ-7t for mharc-grub-devel@gnu.org; Sun, 16 Sep 2012 13:40:20 -0400 Received: from eggs.gnu.org ([208.118.235.92]:37201) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TDIpO-0005aK-Mh for grub-devel@gnu.org; Sun, 16 Sep 2012 13:40:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TDIpN-0000c6-5D for grub-devel@gnu.org; Sun, 16 Sep 2012 13:40:18 -0400 Received: from mail-wi0-f177.google.com ([209.85.212.177]:64074) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TDIpM-0000a7-TX for grub-devel@gnu.org; Sun, 16 Sep 2012 13:40:17 -0400 Received: by wibhn17 with SMTP id hn17so1378238wib.12 for ; Sun, 16 Sep 2012 10:40:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:x-enigmail-version:content-type; bh=m9hZTXjYx+Y+yFDxBYJoFH/WYzwkaA0b1PR5/zC7b+g=; b=cnZBhxTwf35mFqKAoNRs+TxSRPPHZx+PNZs/B0sEc/STN6XcPj4GKqzvDMg2eUF1dx uLo7WiM2VfldN/Ri1YYj27c8RfUeEY+a1+1bkcubhbVWgloV+tG5adc6hslSAIWivqV0 K1/j3/NdeQzXHXp30IldwEvcK3HgvJ+8ebTFDu21cIwsc+e21TQ65Djv6XDseWF1Prr2 7N6zDXftYH7ZhCgRlveWtVnQNbNCC7H7dQdg4/TzGGNEig/4MwmryfUIkegSwFz6XuoL 9AeJKhTV1iDrhEDgp/L41Gix9ahRW9CpFIrqnHVYD7wjM2DWaW/y1UmymH+rYiIN4Bpu m+wg== Received: by 10.216.195.212 with SMTP id p62mr4663490wen.217.1347817215393; Sun, 16 Sep 2012 10:40:15 -0700 (PDT) Received: from debian.x201.phnet (105-90.79-83.cust.bluewin.ch. [83.79.90.105]) by mx.google.com with ESMTPS id eu4sm13099891wib.2.2012.09.16.10.40.14 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 16 Sep 2012 10:40:14 -0700 (PDT) Message-ID: <50560EFC.6080005@gmail.com> Date: Sun, 16 Sep 2012 19:40:12 +0200 From: =?UTF-8?B?VmxhZGltaXIgJ8+GLWNvZGVyL3BoY29kZXInIFNlcmJpbmVua28=?= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.6esrpre) Gecko/20120817 Icedove/10.0.6 MIME-Version: 1.0 To: grub-devel@gnu.org Subject: Re: [PATCH] Allow user to choose between path or fs-label instead of UUID References: <505604DF.305@catcity.dyndns.org> In-Reply-To: <505604DF.305@catcity.dyndns.org> X-Enigmail-Version: 1.4.1 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="------------enig3681CBB1BCB75A9EA0555566" X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 209.85.212.177 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: Sun, 16 Sep 2012 17:40:19 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig3681CBB1BCB75A9EA0555566 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 16.09.2012 18:57, Pete Appleton wrote: > Hi all, >=20 > The file attached is intended to allow a Linux user to easily specify > whether GRUB2 should use the traditional device path (/dev/sda1) or the= > filesystem label instead of the default UUID scheme. This functionalit= y > is currently supported by GRUB2 itself but the peripheral files > (grub-mkconfig, 10-linux etc) don't directly support it, requiring the > user to edit the distribution-supplied files on their installation with= > the potential for consequent upgrade conflicts. >=20 > This patch adds support for a new environment variable > GRUB_DEVICE_IDENTIFICATION taking as value one of {uuid, label, path}; > if not set or invalid then it defaults to uuid so that the current > semantics are respected. If set to label then the 'search' clause and > root=3DXXX kernel parameter are written using file system label syntax = as > opposed to the current single behaviour of device path if > GRUB_DISABLE_LINUX_UUID=3Dtrue In this patch the same option has effect on both how device is passed to kernel and how it's identified internally. These 2 parts should be kept separate. >=20 > This patch was written after needing the functionality in my environmen= t > as I frequently move filesystems around a multi-spindle system (using > the label to keep track of them) and seeing a few articles online > advising various modifications to distribution supplied files; I hope > that it is deemed useful enough to get incorporated into trunk to remov= e > this minor niggle with a great product. >=20 > Thanks, >=20 > Pete Appleton >=20 >=20 > _______________________________________________ > Grub-devel mailing list > Grub-devel@gnu.org > https://lists.gnu.org/mailman/listinfo/grub-devel --=20 Regards Vladimir '=CF=86-coder/phcoder' Serbinenko --------------enig3681CBB1BCB75A9EA0555566 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.12 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iF4EAREKAAYFAlBWDvwACgkQNak7dOguQgn6kAD9F7Vh25ifs5GfC/8TYM0MHoJy iO4MkDDHl6viC3jCRiYA/ikhC2vGyGRkizW9GuU0Tgb/tJsGug9MFmZqjNjqDM4C =gQPg -----END PGP SIGNATURE----- --------------enig3681CBB1BCB75A9EA0555566--