Arch Linux

For context: I've encrypted the swap partition with: ```bash cryptsetup -v luksFormat /dev/${DEVICE} cryptsetup luksOpen /dev/${DEVICE} swap ``` And what I want is for the user to be able to enter their password only once to decrypt their root partition which would contain a keyfile to then decrypt their swap partition. Does anyone know if this is possible? Just thought I'd ask to see if anyone's done this already ### Links: - [Dm-crypt Unlocking - With a keyfile embedded in the initramfs](https://wiki.archlinux.org/title/Dm-crypt/Device_encryption#With_a_keyfile_embedded_in_the_initramfs) - [Dm-crypt - Automated unlocking and mounting](https://wiki.archlinux.org/title/Dm-crypt/Encrypting_a_non-root_file_system#Automated_unlocking_and_mounting)

5
1

Installed Arch this weekend. My transition is now complete :P

9
2

Does updating more often make things break more often? Or does updating less often make things more likely to break when you do finally update? Or do things randomly break regardless and there's not a damn thing you can do to prevent it either way? If anyone else is having problems with the latest updates making their ax200 wifi speed capped at 3.4mb/s and has found a fix that doesn't involve buying new hardware or reinstalling the os, I would love to hear it. I would like to think installing new updates will eventually fix the problem but I've never seen updates fix anything Iike that ever, not even once.

7
4