From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matthew Garrett Subject: Re: efivarfs allows non-canonical GUID and duplicate filenames Date: Tue, 29 Jan 2013 05:25:32 +0000 Message-ID: <20130129052532.GA15383@srcf.ucam.org> References: <1351237923-10313-1-git-send-email-matt@console-pimps.org> <1351237923-10313-2-git-send-email-matt@console-pimps.org> <51022DD7.4010701@redhat.com> <20130129044418.GD14395@srcf.ucam.org> <51075B56.5050408@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <51075B56.5050408-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org> Sender: linux-efi-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Lingzhu Xiang Cc: Matt Fleming , linux-efi-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Matthew Garrett , Jeremy Kerr , Andy Whitcroft , Jan Beulich , Chun-Yi Lee , Matt Fleming List-Id: linux-efi@vger.kernel.org On Tue, Jan 29, 2013 at 01:17:10PM +0800, Lingzhu Xiang wrote: > On 01/29/2013 12:44 PM, Matthew Garrett wrote: > >>[root@qemu-ovmf efivars]# touch BootOrder-8BE4DF61-93CA-11D2-AA0D-00E098032B8C > > > >Ha ok. Other than the change in name over unmount, does this one cause > >any problems? > > This demonstrates how to create two files with the same name in efivarfs. > > [root@qemu-ovmf efivars]# ll BootOrder* > -rw-r--r--. 1 root root 12 Jan 25 14:56 > BootOrder-8be4df61-93ca-11d2-aa0d-00e098032b8c > -rw-r--r--. 1 root root 12 Jan 25 14:56 > BootOrder-8be4df61-93ca-11d2-aa0d-00e098032b8c Huh. The firmware permits two variables with the same GUID in different cases? -- Matthew Garrett | mjg59-1xO5oi07KQx4cg9Nei1l7Q@public.gmane.org