From nobody Sat Jan 15 00:45:58 2022 X-Original-To: questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id E3A23194EF7B for ; Sat, 15 Jan 2022 00:47:27 +0000 (UTC) (envelope-from freebsd-database@pp.dyndns.biz) Received: from keymaster.home (ns1.xn--wesstrm-f1a.se [81.4.102.176]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "keymaster.pp.dyndns.biz", Issuer "keymaster.pp.dyndns.biz" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4JbKJG37p9z4hVC for ; Sat, 15 Jan 2022 00:47:25 +0000 (UTC) (envelope-from freebsd-database@pp.dyndns.biz) Received: from [192.168.254.0] ([192.168.254.0]) by keymaster.home (8.16.1/8.16.1) with ESMTP id 20F0jwK3013124 for ; Sat, 15 Jan 2022 01:45:59 +0100 (CET) (envelope-from freebsd-database@pp.dyndns.biz) Message-ID: Date: Sat, 15 Jan 2022 01:45:58 +0100 List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.4.0 Subject: Re: disk_ident and gptid disabled in /boot/loader.conf Content-Language: en-GB To: questions@freebsd.org References: From: =?UTF-8?Q?Morgan_Wesstr=c3=b6m?= In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4JbKJG37p9z4hVC X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of freebsd-database@pp.dyndns.biz has no SPF policy when checking 81.4.102.176) smtp.mailfrom=freebsd-database@pp.dyndns.biz X-Spamd-Result: default: False [-0.80 / 15.00]; RCVD_TLS_LAST(0.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[questions@freebsd.org]; AUTH_NA(1.00)[]; RCPT_COUNT_ONE(0.00)[1]; HFILTER_HELO_IP_A(1.00)[keymaster.home]; NEURAL_HAM_SHORT(-1.00)[-1.000]; HFILTER_HELO_NORES_A_OR_MX(0.30)[keymaster.home]; MLMMJ_DEST(0.00)[questions]; R_SPF_NA(0.00)[no SPF record]; DMARC_NA(0.00)[pp.dyndns.biz]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:198203, ipnet:81.4.100.0/22, country:NL]; RCVD_COUNT_TWO(0.00)[2]; MID_RHS_MATCH_FROM(0.00)[] X-ThisMailContainsUnwantedMimeParts: N On 2022-01-15 00:04, Taceant Omnes wrote: > I wonder, why are the two settings below explicitly disabled by > default in /boot/loader.conf during 13.0 installation? I would think > it is better to use disk ids or gpt ids in configuration in case the > disks are moved to another port (instead of /dev/adaX, etc). One way > to encourage that is to make them visible from the beginning, meaning > installation, for new users benefit. I had to spend some time with > google to find how to make them visible, as there is some wrong > information online. > > kern.geom.label.disk_ident.enable="0" > kern.geom.label.gptid.enable="0" > > There must be a reason for them to be explicitly disabled by default. > What is it? > The first one fixes some old annoyance with device labels and was discussed here: https://marc.info/?l=freebsd-current&m=138188193523168&w=2 Patched in r259479 on 2013-12-16. https://cgit.freebsd.org/src/commit/usr.sbin/bsdinstall/scripts/zfsboot?id=ee482f2c28e5675eba7f868427a4750c3121c57a The second one I can't find the relevant mail list discussion for, but it was patched in r266107 on 2014-05-15. https://cgit.freebsd.org/src/commit/usr.sbin/bsdinstall/scripts/zfsboot?id=2875e59f52f95d59ab7bf94ea67a98292f4f7775 Maybe someone else has better luck searching through the mail archives for that one. /Morgan