From nobody Fri Aug 27 10:38:23 2021 X-Original-To: freebsd-current@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 8F2EA1791F47 for ; Fri, 27 Aug 2021 10:38:32 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from mx.catwhisker.org (mx.catwhisker.org [107.204.234.170]) (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 4Gwx5N28FGz3v5K for ; Fri, 27 Aug 2021 10:38:32 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from albert.catwhisker.org (localhost [127.0.0.1]) by albert.catwhisker.org (8.16.1/8.15.2) with ESMTP id 17RAcPda065133; Fri, 27 Aug 2021 10:38:25 GMT (envelope-from david@albert.catwhisker.org) Received: (from david@localhost) by albert.catwhisker.org (8.16.1/8.16.1/Submit) id 17RAcNmL065132; Fri, 27 Aug 2021 03:38:23 -0700 (PDT) (envelope-from david) Date: Fri, 27 Aug 2021 03:38:23 -0700 From: David Wolfskill To: Ronald Klop Cc: FreeBSD CURRENT Subject: Re: Encrypted swap partition no longer encrypted Message-ID: Reply-To: current@freebsd.org Mail-Followup-To: current@freebsd.org, Ronald Klop , FreeBSD CURRENT References: <149845085.13.1630055426223@localhost> List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="I+jJ9KV3mEhwMKrr" Content-Disposition: inline In-Reply-To: <149845085.13.1630055426223@localhost> X-Rspamd-Queue-Id: 4Gwx5N28FGz3v5K X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-ThisMailContainsUnwantedMimeParts: N --I+jJ9KV3mEhwMKrr Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Aug 27, 2021 at 11:10:26AM +0200, Ronald Klop wrote: > Hi, >=20 > For encrypted swap you can put ".eli" behind the device name in fstab. >=20 > So change "/dev/ada0p2" to "/dev/ada0p2.eli" in the new fstab and reboot. > NB: after encryption is enabled the device is not available as dumpdev an= ymore. If one uses "sw,late" in the "Options" field of the swap fstab entry, thus: # Device Mountpoint FStype Options Dump Pas= s# /dev/ada0s4b.eli none swap sw,late 0 0 I find that it permits (in this case) /dev/ada0s4b to be used for the dumpdev, whlie using /dev/ada0s4b.eli for swap. (This is for stable/12, stable/13, and head -- though I haven't updated since 10 August.) > ... Peace, david --=20 David H. Wolfskill david@catwhisker.org Life is not intended to be a zero-sum game. See https://www.catwhisker.org/~david/publickey.gpg for my public key. --I+jJ9KV3mEhwMKrr Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGTBAEBCgB9FiEE4owz2QxMJyaxAefyQLJg+bY2PckFAmEowJ9fFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEUy OEMzM0Q5MEM0QzI3MjZCMTAxRTdGMjQwQjI2MEY5QjYzNjNEQzkACgkQQLJg+bY2 PcmiSQf+NSDULM/wsoY/dpLpbijd9ZG3Z6PLzJMKInRRkqZaSCcUFL3aBzOGbXoT fgfcElWcC4RqLz282TrhkGqkcWhzzTe/7D/1OMwTnt7gxOmcDoleaelDFnaOYE7e e9rgaV1LSWo8f809Qj1Nrthl7qyJGwRtxCgNT+7H2F8U0SgoZ7s7Zw4CJzsM37V7 GPBzaDQiQHYZseOpx929tVpoq9YHfTJ8yv2PWpvy+PSQkW/LtAkSkRLnoj2ZSqlZ 8qG2OPxwIcuKNqcKwT9XwecE8p8PpTDi7c6+re24hvOzP90iAayPfiJNaUkDJFoI LenCbvMje7rCutnxQevk2zR+exBEMw== =YZxY -----END PGP SIGNATURE----- --I+jJ9KV3mEhwMKrr--