From owner-freebsd-current@freebsd.org Sun Nov 4 23:13:43 2018 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 505F310F0CE6 for ; Sun, 4 Nov 2018 23:13:43 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-it1-x12f.google.com (mail-it1-x12f.google.com [IPv6:2607:f8b0:4864:20::12f]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id BB3B28C7A2 for ; Sun, 4 Nov 2018 23:13:42 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-it1-x12f.google.com with SMTP id w7-v6so10196719itd.1 for ; Sun, 04 Nov 2018 15:13:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=oCujrY2xFUPh423BLedQp0FzxW10XyGlCplan8d1h1U=; b=0FX7QdsWgLjCUvmpoCfH3zw5G3rN/SnYX8lmxJ1vXJ1QdsF+5koVsDqNSknlLxE8EA 4J7XYtvRzKcSfAsNsWfuWR8sv/+B8wr6U5GHYvZoAKwaDyTnJnGY4jWSCCyjEHFzOgLV DJ38SuksZ5W/WKQg4adS3h7Uyk3mZ87fhOp5dkSVvOtg2Xtnf5UJnV2m9L6zwrQt6E/N OHCN4IkA1PAfHuj/Bd7fIZXaiEb8V3+UPuDj1481TCKQZj+WLWK/OuPA+2vBeZIoy3tL RZtFtjTUkm91eW2GCHtVMEE32EOdJUsFDv8T5vgfbF11l7IqyI7NElI0xXTa6+aNf9v5 P0rQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=oCujrY2xFUPh423BLedQp0FzxW10XyGlCplan8d1h1U=; b=GyqrlIE+PC724Dj1E2DMLojxLgqPGRcDlK/w3MX5uMWARNus0N/IBBsm2Ug1m4a8oL 3X92sp5e6jJbwD24gOW1A7dHYHinlvsmPiZquGeqc8F5F4QUx5eS14jdpsnL+76xx8Ox gEPLaPuQM39q7+vuKK+/Lt4wlXr50oAoxcge2Q1jblxESWOF3oOa3BgMsrud9l0IBn/F rNMa44kP/SK1qBxerUA1EfVJZIZoOZFzcVMhG2OOYTVZ813UDqpcBBxvxv5njwZ+bOOK 4oA5wOW6uNvYU9XX2evy1a8K16W+Gg1l98QLuPRwzt0MboHQ7Ulwl0RckSec838tDiTe NSWQ== X-Gm-Message-State: AGRZ1gIy6bS18VSnwyv9v2+eW+vu+qMRom7Bkii8Yu3uCv8StnkSid/T R8fF4GZJ5GFDMIwa/ftbd8cOYXNvUAX6APs1vVLl2T0p X-Google-Smtp-Source: AJdET5fiYFW4bPQtfZS/W6SMi5yZIK8sFgPRXcpyGYUGV+NvMrGQeHEiQIqPAdccmJZVHn5xqBF01JOHHdeWyJPgekw= X-Received: by 2002:a24:5f94:: with SMTP id r142-v6mr4974756itb.171.1541373221955; Sun, 04 Nov 2018 15:13:41 -0800 (PST) MIME-Version: 1.0 References: <5091656.8gLySxXtyI@photon.int.bluestop.org> <1713323.u6MfGjpqfb@photon.int.bluestop.org> <5211180.XOh7uYVVfo@photon.int.bluestop.org> In-Reply-To: <5211180.XOh7uYVVfo@photon.int.bluestop.org> From: Warner Losh Date: Sun, 4 Nov 2018 16:13:30 -0700 Message-ID: Subject: Re: UEFI: How to go about updating the ESP with loader.efi during installworld To: Rebecca Cran Cc: FreeBSD Current , Toomas Soome X-Rspamd-Queue-Id: BB3B28C7A2 X-Spamd-Result: default: False [-0.45 / 200.00]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[bsdimp-com.20150623.gappssmtp.com]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; DMARC_NA(0.00)[bsdimp.com]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[bsdimp-com.20150623.gappssmtp.com:+]; MX_GOOD(-0.01)[cached: ALT1.aspmx.l.google.com]; RCVD_IN_DNSWL_NONE(0.00)[f.2.1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; NEURAL_HAM_SHORT(-0.19)[-0.187,0]; R_SPF_NA(0.00)[]; FORGED_SENDER(0.30)[imp@bsdimp.com,wlosh@bsdimp.com]; RCVD_TLS_LAST(0.00)[]; IP_SCORE(-0.25)[ipnet: 2607:f8b0::/32(0.02), asn: 15169(-1.20), country: US(-0.07)]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; FROM_NEQ_ENVFROM(0.00)[imp@bsdimp.com,wlosh@bsdimp.com]; RCVD_COUNT_TWO(0.00)[2] X-Rspamd-Server: mx1.freebsd.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Nov 2018 23:13:43 -0000 On Sun, Nov 4, 2018 at 4:10 PM Rebecca Cran wrote: > On Sunday, 4 November 2018 15:56:25 MST Warner Losh wrote: > > > I think that's a really really bad idea. We should *NEVER* create them by > > default. We are only sliding by on the coat-tails of compatibility by > using > > efi/boot/boot*.efi. We shouldn't use those at all, unless there's a > > compelling reason (like BIOS bogosity) for doing so. I had no plans to > > update or use those, at least by default. We should *ONLY* be using those > > for *REMOVABLE* media, since that's the only place they are well defined > in > > the standard. > > Thanks, I had wrongly presumed it was in the spec for fixed storage as > well > given that Windows, Linux etc. creates them. Looking at the 2.7 > specification I > can see I was wrong and agree we should only create files in efi/freebsd. > I don't know if I've mentioned this, but Benno registered /efi/freebsd with the UEFI consortium, so we own everything in that directory as a result. Warner