From: "Jan Beulich" Subject: Re: [PATCH] x86/EFI: define and use EFI_DIR make variable, defaulting to /usr/lib64/efi Date: Mon, 23 Jul 2012 11:28:07 +0100 Message-ID: <500D4357020000780008FDAC@nat28.tlf.novell.com> References: <500D1E36020000780008FC69@nat28.tlf.novell.com> <20120723080523.GA9403@aepfle.de> <500D2576020000780008FCAF@nat28.tlf.novell.com> <1343033009.3007.4.camel@zakaz.uk.xensource.com> <500D306D020000780008FD10@nat28.tlf.novell.com> <1343036134.3390.10.camel@zakaz.uk.xensource.com> <500D3D87020000780008FD86@nat28.tlf.novell.com> <1343039155.4091.4.camel@zakaz.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1343039155.4091.4.camel@zakaz.uk.xensource.com> Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Ian Campbell Cc: Olaf Hering , Matt Wilson , "xen-devel@lists.xen.org" List-Id: xen-devel@lists.xenproject.org >>> On 23.07.12 at 12:25, Ian Campbell wrote: > On Mon, 2012-07-23 at 11:03 +0100, Jan Beulich wrote: >> >>> On 23.07.12 at 11:35, Ian Campbell wrote: >> > On Mon, 2012-07-23 at 10:07 +0100, Jan Beulich wrote: >> >> >>> On 23.07.12 at 10:43, Ian Campbell wrote: >> >> > What is this stuff installed in /usr/lib*/efi anyway? I suppose it isn't >> >> > boot time stuff (which should go in /boot or /boot/efi). >> >> >> >> It *is* boot time stuff, and is does *not* belong into /boot. >> >> When putting this together, I was told that the EFI partition >> >> has to be considered volatile (i.e. may get destroyed and >> >> re-created at any time). >> > >> > Do you have a reference for this? >> >> Not readily; I could ask the person who told me. >> >> > OOI what is /boot/efi for if it can be regenerated at any time? >> >> To boot the system. As this is using the old FAT file system, it's >> not really reliable in case of kernel crashes and could be >> re-initialized from the EFI shell of other firmware management >> operations, and hence shouldn't be used for any non-volatile data. > > So /boot/efi is effectively a /tmp style thing for the EFI shell? You could view it that way, I think. Jan