Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Aug 2021 03:38:23 -0700
From:      David Wolfskill <david@catwhisker.org>
To:        Ronald Klop <ronald-lists@klop.ws>
Cc:        FreeBSD CURRENT <freebsd-current@freebsd.org>
Subject:   Re: Encrypted swap partition no longer encrypted
Message-ID:  <YSjAn6b95gxPvaoK@albert.catwhisker.org>
In-Reply-To: <149845085.13.1630055426223@localhost>
References:  <d1776d44-55fa-2acc-6046-7e29b2e5b1a2@gmail.com> <149845085.13.1630055426223@localhost>

next in thread | previous in thread | raw e-mail | index | archive | help

--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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?YSjAn6b95gxPvaoK>