From owner-freebsd-current@freebsd.org Fri Jan 18 03:36:19 2019 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 4D884148C708 for ; Fri, 18 Jan 2019 03:36:19 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-qk1-x72b.google.com (mail-qk1-x72b.google.com [IPv6:2607:f8b0:4864:20::72b]) (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 1EDEE73101 for ; Fri, 18 Jan 2019 03:36:17 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-qk1-x72b.google.com with SMTP id y16so7310156qki.7 for ; Thu, 17 Jan 2019 19:36:17 -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=q5FobuleJzvwWtPi7vgr9yLZZq0awo+U96NaC3m03kA=; b=q+8X37YmvcytDjHfMPuAJRd/ej3BNufQnM+QKuz6piplRA6tWk24bxResxxjGUHD/z W4MmMBPg5/3izpvwWieAnWD9VQxpIIXYsJdtUJGFIjNE/uLumgSvixA12UEdhFNnzLR8 88Qo9aEWUfbhmxWAm7e1HEeO+cddlqBgbZ3xnOQU5qTxujv+NsloqOub3f9SSFOKmqqX PApbAW5lONi/KO7BNnXizUFyqi1iEgT7Fc5ioeojt9PFgqecSazmVr9Q6qm7ITxornkS RrJAfznqMZ1Q/qldNrSGuemPPy3gkIycwlGp6A3rIuyPKZkhHU08+Ju3GZXKvs4kIl6f SQbw== 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=q5FobuleJzvwWtPi7vgr9yLZZq0awo+U96NaC3m03kA=; b=j/YxPa5BLR89nMvDxiY4HXBNgSTmAseZozatk1c/+tJL4MC12a6/JlbqtB9HhHS9Ov xlKLj7DH13XAjZGiuWrinIUTDvF0wQfsVLtz4vag8hVFKo1JvjNe/vuARCQPfubwletK AvA1iAA9ZR2c4nh3LDkCEM1zW/+/f64LXE8Xv6uXxcD870+sD7lV30c84UtqH0mMeVGF Jhemt1h/wI3na3dUUUEqkS02sPVFPcbqQa6URJFbI6yOUNL3p608Att7JelUd2NpEreM 3V4lTLeAHK9uFF1Yr+wGYT0UaEzvfqqpp4AUu/hM696NSBeDXewMO1V8F2+VZK3aCxQU bDOg== X-Gm-Message-State: AJcUukcmHEsD9Ke2qI4jIwu2OiC8Y0RBenoIPTYT9fxRg0niAbJLbEp7 F3eCBZcyH5zOGrM9tiHbsOBXQoLd4ObpiJNz5xA+5g== X-Google-Smtp-Source: ALg8bN7kdcHyu35ZOL2jmShpWI3BklJf+9hwOAAAW6OnsuoJhpzJfAMAWC4Skxk7Jfas7Jcgt2zrPOr27HhyDnYbQ7s= X-Received: by 2002:a37:9604:: with SMTP id y4mr13859763qkd.279.1547782577010; Thu, 17 Jan 2019 19:36:17 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Warner Losh Date: Thu, 17 Jan 2019 20:36:05 -0700 Message-ID: Subject: Re: UEFI, loader.efi and /boot.config To: Rebecca Cran Cc: FreeBSD Current X-Rspamd-Queue-Id: 1EDEE73101 X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=bsdimp-com.20150623.gappssmtp.com header.s=20150623 header.b=q+8X37Ym X-Spamd-Result: default: False [-5.55 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[bsdimp-com.20150623.gappssmtp.com:s=20150623]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_SHORT(-0.99)[-0.986,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; 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:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[b.2.7.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]; MX_GOOD(-0.01)[ALT1.aspmx.l.google.com,aspmx.l.google.com,ALT2.aspmx.l.google.com]; R_SPF_NA(0.00)[]; FORGED_SENDER(0.30)[imp@bsdimp.com,wlosh@bsdimp.com]; MIME_TRACE(0.00)[0:+,1:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; FROM_NEQ_ENVFROM(0.00)[imp@bsdimp.com,wlosh@bsdimp.com]; IP_SCORE(-2.56)[ip: (-8.49), ipnet: 2607:f8b0::/32(-2.40), asn: 15169(-1.82), country: US(-0.08)]; RCVD_COUNT_TWO(0.00)[2] Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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: Fri, 18 Jan 2019 03:36:19 -0000 On Thu, Jan 17, 2019, 7:33 PM Rebecca Cran > With a recent change I made for UEFI, we now install loader.efi onto the > ESP and don=E2=80=99t run boot1. That means that /boot.config is no longe= r read, > and so console settings need to be put in /boot/loader.conf. > I was wondering if people will expect /boot.config to still be read and s= o > code should be added to loader to continue to parse it, or if loader.conf > can be considered the correct place and boot.config forgotten about? > The problem is that by the time we know what / is. It's too late. If there is an error before that. It's kinda too late. Since it is too late, you should just set the console with loader.conf, since it is the standard place. I think it can be forgotten for these and other reasons... loader.conf is a superset of boot.conf anyway. Warnet =E2=80=94 > Rebecca Cran > _______________________________________________ > freebsd-current@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org= " >