Skip to content

u/oscooter

In this archive from Dec 2016 to Oct 2023

0
posts
48
comments
0
media
1k
score
2 saved before deletion

Top comments

Depends on your needs. I’d say for most people encrypting just your home directory is perfectly fine.

However for my work machines I encrypt the full disk and swap file/partition. If my work laptop were to be stolen or compromised I want to be reasonably assured any work data doesn’t get leaked.

My current work machine I did LUKS over a BTRFS partition BTRFS over LUKS. Then setting up BTRFS subvolumes gave me the flexibility I needed for separate “partitions” as far as back ups and snapshots are concerned. Word of warning is that swap files are tricky with hibernation on BTRFS partitions, adding a second swap partition is easier.

81 points

Without going down the rabbit hole, systemd is primarily an init system. Init systems are typically the first user land program the Linux kernel starts, and their primary responsibility is to start all the other programs necessary to get your machine in the state you expect it to be in.

This includes starting things like your network manager, sound daemon, etc. This isn’t necessarily a trivial task, you can’t just start everything at once and hope for the best. That leads to unpredictable things and in the case of program B needing program A to be started first things break really quickly.

So systemd and other init systems seek to maintain a predictable startup order and ensure any dependencies of a program are properly initialized before that program attempts to be started.

There are a bunch of init systems out there, but systemd is the one you’ll see most often these days. It gets a lot of hate because it’s evolved from just being a startup system to handling a ton of other stuff too. For instance there’s systemd boot which can handle loading your kernel for you. Then there’s systemd networkd, which handles configuring all your network interfaces. Then there’s systemd resolved which handles your DNS resolution. Then there’s systemd homed which handles your home directory and replicating it between your computers.

You get the point. It is worth noting that many of these extra features are opt in. You don’t have to use systemd-networkd or boot or resolved or homed, and they are not enabled by default.

The Unix philosophy says “do one thing and do it well”. This leads to many small programs that have specific purposes, but that can often be chained together to tackle larger problems. Systemd’s critics believe that it goes against this philosophy and that’s its grown too large and responsible for too many things.

The creator of systemd is also a divisive character, but I know less about that.

I’ll let you decide what you think about systemd, and I’ve tried to not inject any of my personal feelings one way or the other about it in this post.

27 points

The website definitely seems like it's having issues. It's loading for me, but taking long periods of time to respond. However cloning git repos doesn't seem affected.

19 points

Subreddits

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.