Skip to content

u/brandflasks

In this archive from Mar 2014 to Jun 2020

0
posts
12
comments
0
media
48
score

Top comments

I recently moved all of my installs over to LVM for the flexibility of resizing partitions, snapshots, and encryption. I originally started with bare ext4 partitions, then btrfs, and now ext4 on LVM. If you have a big enough external hard drive, it's easy enough to rsync everything to it from a live usb, adjust partitions, and rsync back so don't worry about changing your mind later!

I'm pretty comfortable with about 40 GB root partition. I find I had to clean it too often when it was around 30 GB as I believe the wiki suggests. Based on what you said about PDFs and TeX, I'm guessing you're in the sciences. If you plan on using anything like Mathematica, LabView, or similarly hefty software you might want to have a larger root or a separate /opt partition. And a note on TeX: I have it installed locally in my home folder because I use the Texlive method of updating rather than pacman. Rolling release is great but when that one package changes and your document doesn't want to compile anymore at 1 AM, it's hell.

Of course this brings us to the question of why bother with separate partitions in the first place? I don't have an answer for that... when I started Arch I just used one big partition and as I learned how to do more things I adjusted my layout.

16 points

I check the source line as well and sometimes scroll down to the prepare, build, and package if it's an obscure piece of software with little votes online. I should make a better habit of checking the install file, so you're better than me there.

I actually just started reviewing them in detail. I should have previously, but I suppose I didn't really know how. I recently started maintaining a few of my own packages which gave me a fantastic overview of what the PKGBUILD is actually doing and what it's supposed to do. I highly recommend creating your own package. It could be just a simple bash command that you created and you won't be submitting to the AUR, but it will be immensely helpful in learning how it all comes together.

I'm not sure if this will help, but running namcap on the produced package prior to installing might alert you to things that are out of place. I don't think it catches malicious things though and might only be useful if you're creating the package for submission to the AUR.

8 points

You can create a systemd unit file (Type=oneshot) to activate after your usb is mounted (Requires=usb.mount, After=usb.mount). Create a bash script with the rsync options you want and then execute that in the unit file (Exec=/path/to/custom_rsync_script). I would save this unit file in ~/.config/systemd/user and then enable it as a user service (systemctl --user enable usbrsync.service) because I imagine you'll only want it to run while you are logged on.

Something like this:

[Unit] Description=Rsync USB drive Requires=usb.mount After=usb.mount

[Service] Type=oneshot ExecStart=/path/to/script

[Install] WantedBy=default.target

Full disclosure: I'm on my phone right now so this idea might not work but perhaps someone more knowledgeable might chime in!

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