Skip to content

u/kjoke

In this archive from Apr 2018 to Mar 2021

5
posts
70
comments
0
media
275
score

Why would the package size be relevant?

$ du -sh /usr/bin/bash
884K	/usr/bin/bash
$ du -sh /usr/bin/zsh 
852K	/usr/bin/zsh

I don't think a 32K difference is particularly important, especially since loadable modules aren't factored in.

1 points

Advantage of swapfiles: you can create or delete them as you need them. No need to waste space on a otherwise useless partition.

Also: If you use full-disk encryption, you don't want to have an unencrypted swap. Now since btrfs subvolumes cannot be swap partitions, you have two options:

  1. Use a swapfile from within the encrypted btrfs system
  2. Have a seperate, encrypted swap partition. Now you have to deal with unlocking swap and your root on boot/resume. I'm sure it's possible, but option 1 is definitely easier.
9 points

I don't think arch is complicated or difficult. Quite the opposite, if you know exactly what you want. I think that's the challenging part - finding out what exactly you want from your system. There are just a lot of decisions you're not normally confronted with (partition layout, network manager, bootloader, ...) during the setup process.

1 points

All of them. None of the existing browsers seem to let me organize my tabs by context (work, private, research for a specific topic,...) so I use a different browser for everything. Currently mostly firefox, firefox-developer-edition, opera, chromium and occasionally surf.

2 points

That's fine. Then from kernel 4.17 this should be all you need (source):

  1. Charge start threshold /sys/class/power_supply/BATN/charge_start_threshold

Valid values are [0, 99]. A value of 0 turns off the start threshold wear control.

  1. Charge stop threshold /sys/class/power_supply/BATN/charge_stop_threshold

Valid values are [1, 100]. A value of 100 turns off the stop threshold wear control. This must be configured first.


Nearly all my drives use btrfs, and AFAIK on NVMe drives it depends on the connection (PCIe or SATA).

Yes it has to be PCIe.

2 points

but I also ask myself if TLP is really necessary?

Well no, you can do most of it manually via sysfs. It's just very inconvenient to keep track of all the changes and have it easily configurable. Personally I find it very useful and it does make a difference on my T480s. Although, when it comes to improving battery life and thermals, nothing beats undervolting.


e.g. deactivation things I still need

that should be configurable via the blacklists

corrupting file systems in certain sata modes, especially when using btrfs

You can blacklist that drive. AFAIK does not affect you, if you use an NVMe drive.

2 points

I certainly have to decrypt it if I'm resuming from hibernation. AFAIK I also have to decrypt it on boot if I want to be able to hibernate.

And yes a swap file can be resized and or deleted but why would you want to do that. Storage space is cheap you can have a few gb of swap in zram, few more gb on your ssd and a lot more on a hdd. But by the time you you need to swap to hdd it's way too late and means that you don't have enough ram and you should buy more.

Storage space being "cheap" is hardly useful if there's no way to upgrade storage in my laptop. The amount of RAM I can have is also limited. For those rare tasks that need significantly more RAM than what I have, just increasing the size of my swap file is the easiest solution. Otherwise I need waste a lot of space on swap space I don't usually need.

2 points

Because then I have to encrypt swap separately. Consequently I'll have to decrypt swap and root on boot. It's slow, a pain to setup, not particularly well documented and "probably has some bugs" as well. Additionally there are the usual benefits of using a swap file:

  • can be reliably resized on the fly
  • can be deleted
2 points

Not a stupid question. Archiso (the image you use for installation) is released monthly and on march 1st 5.0 wasn't in the repos yet. However during the installation the most recent version will be installed (which currently is 5.0)

9 points

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.