From owner-freebsd-stable@freebsd.org Sun Apr 18 07:32:03 2021 Return-Path: Delivered-To: freebsd-stable@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 06E875D9A7A for ; Sun, 18 Apr 2021 07:32:03 +0000 (UTC) (envelope-from petefrench@ingresso.co.uk) Received: from constantine.ingresso.co.uk (constantine.ingresso.co.uk [IPv6:2001:470:6a18:411::3]) (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 did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4FNM8f2nPvz4mZS for ; Sun, 18 Apr 2021 07:32:02 +0000 (UTC) (envelope-from petefrench@ingresso.co.uk) Received: from [2001:470:6cc4:1:b8fa:e0b2:3edf:f1ec] (helo=balta.drayhouse.twisted.org.uk) by constantine.ingresso.co.uk with esmtpsa (TLS1.3) tls TLS_AES_128_GCM_SHA256 (Exim 4.94 (FreeBSD)) (envelope-from ) id 1lY1uS-000A8F-Mw for freebsd-stable@freebsd.org; Sun, 18 Apr 2021 07:32:00 +0000 Subject: Re: geli - is it better to partition then encrypt, or vice versa ? To: freebsd-stable@freebsd.org References: <8c11dffb-3e82-a2d2-bc6a-9256bf3e8b4c@denninger.net> From: Pete French Message-ID: <6a61c243-b2ed-42ab-71c7-fdefc69f4e75@ingresso.co.uk> Date: Sun, 18 Apr 2021 08:32:00 +0100 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:78.0) Gecko/20100101 Thunderbird/78.9.1 MIME-Version: 1.0 In-Reply-To: <8c11dffb-3e82-a2d2-bc6a-9256bf3e8b4c@denninger.net> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-GB Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4FNM8f2nPvz4mZS X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=pass (policy=none) header.from=ingresso.co.uk; spf=pass (mx1.freebsd.org: domain of petefrench@ingresso.co.uk designates 2001:470:6a18:411::3 as permitted sender) smtp.mailfrom=petefrench@ingresso.co.uk X-Spamd-Result: default: False [-2.78 / 15.00]; RCVD_TLS_ALL(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[2001:470:6a18:411::3:from]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2001:470:6a18:411::3]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; ARC_NA(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; RBL_SENDERSCORE_FAIL(0.00)[2001:470:6a18:411::3:server fail]; SPAMHAUS_ZRD(0.00)[2001:470:6a18:411::3:from:127.0.2.255]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; DMARC_POLICY_ALLOW(-0.50)[ingresso.co.uk,none]; NEURAL_HAM_SHORT(-0.98)[-0.981]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:6939, ipnet:2001:470::/32, country:US]; SUBJECT_ENDS_QUESTION(1.00)[]; MAILMAN_DEST(0.00)[freebsd-stable]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Apr 2021 07:32:03 -0000 On 17/04/2021 21:18, Karl Denninger wrote: > This also makes "geli groups" trivial in /etc/rc.conf for attachment at > boot time irrespective of whether they physically come up in the same > place (again typically yes, but in the case of a failure or you plug it > into a different adapter.....) Ah, now this interests me. Because I was setting a variable called 'geli_devices=' in /etc/rc.conf to contain all my drives. But then one day I forgot to add one and it worked anyway, and then I subsequently discovered it works even if I dont have that variable at all, so I no longer bother. Never looked into why I dont need it - I suspected it was because all the devices are marked as requiring a password at boot time so it found them via searching for that without needing the variable. But yes, the GPT labelling thing is a very good reason for keeping them partitioned on a physical machine. -pete.