Skip to content

u/cbarrick

In this archive from Dec 2015 to Jan 2024

4
posts
104
comments
1
media
620
score

Top posts

Experience with BTRFS RAID?

(inb4 the write hole. I know about it and address it below.) Hi fellow Arch users -- I am seeking advice and anecdotes related to BTRFS RAID usage for at-home NAS. Here's the deal. I recently acquired an external 5-bay HDD enclosure that attaches via USB-A 3.1. I would like to plug this into my Arch...

7 points8 comments
Open on Reddit

Static IP at home via AWS or GCP?

I'm trying to get a static IP for my home lab as cheaply as possible. My current thought is to run a VPN on a cloud provider and make that machine my gateway. So I have a few questions: My networking skills are meh. Is this idea possible? Is it a good idea? Are there any subtleties that I should be...

3 points14 comments
Open on Reddit

Pacman failed while updating cuda...

And now my system is fubar. I hadn't updated my machine in 6 to 12 months (life got in the way). So I sat down earlier tonight with a good ol' pacman -Syu. Well, after dealing with some signature issues (that I solved by updating archlinux-keyring), the update failed when unpacking cuda. I was dropp...

0 points7 comments
Open on Reddit

Top comments

I assume you want to point it at /tmp because you want to wipe your caches frequently.

But why?

A cache is a space-time tradeoff, as in it makes your programs faster at the cost of some disk space. So clearing your caches will just make your programs slower. And surely the amount of space it takes up isn't a problem.

This notion of clearing your caches as regular system maintenance is totally wrong, and I hate that it has spread so much.

The only actual reasons you would need to clear your caches are:

  • You are running out of disk space. Clearing your cache is a temporary solution until you can either get more storage or clean up your drive in some other way.

  • Your program is misbehaving. A poorly designed program can be incompatible with a cache created by an older version, and this incompatibility could manifest in weird ways. Or you could mess around with some configuration that invalidates the cache in a way that requires manual intervention. Both of these cases are highly unlikely with well designed software.

  • Privacy. If a third party will have temporary read access to your drive, you may want to clear your caches before you grant that permission. Note that this is a one-off case. If that third party will have persistent access, then your privacy is compromised regardless of caching, so you might as well keep the caches around.

31 points

To call it "Arch", you must install the base package (and it's dependencies) which includes all of the core user space utilities.

This is in contrast to LFS where you compile all of the core user space utilities from scratch.

That being said, you can start by booting into a LFS kernel, compile/install pacman, then install the base package from the official repo, and that would be considered Arch with a custom kernel.

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