eskuero

joined 2 years ago
[–] eskuero@lemmy.fromshado.ws 3 points 15 hours ago

I believe systemd after targets work tho I have never tried them Try adding this to mount options

x-systemd.after=network-online.target

[–] eskuero@lemmy.fromshado.ws 4 points 17 hours ago* (last edited 17 hours ago) (1 children)

For automatically you need to add a keyfile to a slot in the luks device

# openssl genrsa -out /root/keyfile.bin 4096

# cryptsetup luksAddKey /dev/mapper/extra /root/keyfile.bin

The entry in the crypttab would be like this

extra UUID=XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX /root/keyfile.bin luks

[–] eskuero@lemmy.fromshado.ws 9 points 20 hours ago (5 children)

Generally, they enforce in Linux using root permissions to mount internal hard drives unlike USB drives that can be mounted by the user If you want to mount it automatically in every boot, you could modify the /etc/fstab to add an entry for it

[–] eskuero@lemmy.fromshado.ws 2 points 4 days ago* (last edited 4 days ago) (1 children)

Clean all the cache downloads of Arch Linux Packages

pacman -Scc

Remove unused docker networks and images

docker system prune --all

Cleanup untracked git files that might be in .gitignore such as build and out directories (beware of losing data, use "n" instead of "f" for a dry run)

git clean -xdf

Do an aggresive pruning of objects in git (MIGHT BE VERY SLOW)

git gc --aggressive --prune=now

Remove old journal logs, keeping last seven days

journalctl --vacuum-time 7days

Remove pip cache

pip cache purge

[–] eskuero@lemmy.fromshado.ws 0 points 1 week ago* (last edited 1 week ago) (1 children)

Debian testing is just a small resistance step of future arch users still scared to distrohop