From: Ruben Beltran del Rio Date: Mon, 15 Jan 2024 00:22:06 +0000 (+0100) Subject: Update volumes learning X-Git-Url: https://git.r.bdr.sh/rbdr/txt/commitdiff_plain/cca2c21974e0a0c257270a845e60106fe38c6641?ds=inline Update volumes learning --- diff --git a/learning.md b/learning.md index f7e2f57..593df27 100644 --- a/learning.md +++ b/learning.md @@ -1,4 +1,5 @@ 2024-01-15: SELinux provides restrictions to files I wasn't aware of, and can prevent execution in some contexts. With eza you can view it with -Z. +2024-01-14: On linux you can see logical volumes inside a partition with lsblk, they're shown as lvm. If you resize a partition, you still need to resize the lvm (eg. with `lvresize -l +100%FREE` to take all remaining free space), AND the filesystem (eg. using resize2fs). This is important eg when installing an OS from an image as you might not be using your whole disk. 2024-01-14: User systemd files are expected in /etc/ and not /lib/ 2024-01-14: You can use @ and %i in systemd to have multiple instances (eg myfile@.service, and then executable=blabla %i) where %i will be what comes after @. (So in myfile@howdy, %i will expand to howdy) 2024-01-13: PPP Connections stay alive in the old net router, so you don't need to run ATDTPPP again, but just the connection.