Skip to content

u/feitingen

In this archive from Jul 2013 to May 2023

1
posts
49
comments
1
media
258
score

Top posts

Top comments

Personally, I used to do everything on LUKS, and unencrypted /boot.

Mdraid on luks, lvm on luks, zfs on luks, etc.

My main motivation for encryption is so that I can ship disks for RMA or whatever without worrying if my data is gonna be safe.

Now I use just zfs encryption, and /boot on the EFl partition.

Since I always used luks with discard turned on, zfs encrypted datasets feel similar security-wise.

LUKS with discard turned on (and zfs encryption) can leave empty "holes" which can give hints on what kind of data was stored, but the data itself is safe. If you want to be completely on the safe side, then LUKS with discard off should do it.

LVM, mdraid, btrfs, zfs or anything, it doesn't matter what you put on top of LUKS, it will be equally safe.

Of course, encryption is only as good as your key.

23 points

You can make your own hook.

It's just a shell script and it just needs to write to /sys/class/backlight/intel_backlight/brightness (assuming an intel laptop)

It is probably an excellent way to learn about initramfs hooks.

Look in /usr/lib/initcpio for references. I recommend copying and modifying install/sleep and hooks/sleep for your script.

Good luck! Ask here if you need help!

10 points

If you have more devices, then yes.

I forget to mention, the only reason I don't do encrypted boot partition with grub is so that I can unlock remotely with ssh.

Encrypted boot with grub adds to your security since nobody can tamper with your kernel/initrd.

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