Skip to content

u/seeminglyugly

In this archive from Sep 2016 to Jul 2025

41
posts
47
comments
0
media
445
score
2 saved before deletion

If you tried this, what SMR drives did you have and did it help?

I have a bunch of SMR drives that I have no use for besides backups of video datasets. I need encryption and handling of file renames but with a backup software like Kopia, it performs at 15 Mb/s while rsync is 2-6x that (obviously the backup software is doing more like native encryption, compression, deduplication). I use Btrfs for checksums but its send/receive doesn't support pause/resume (I believe I can get that by first sending to a file locally on the source disk, rsyncing that file (which supports pause/resume), then receiving that file on the destination disk but I think sending to and receiving from takes time along with needing additional space for the file for both disks.

I think I have to settle wth rsync --fuzzy to at least handle some renames on Btrfs on LUKS. I would use ZFS but don't want to build ZFS modules on all my Linux machines.

1 points

There will always be a small minority with loud voices. As a frequent lurker on this sub, there isn't a crowd of people complaining, just your typical trolls. Welcome to the internet.

If you really want to thank the devs, contribute in a positive way, not bring light of non-existent drama for some upvotes. It should be no surprise people who actually took the time to use Arch are willing to accept compromises.

1 points

How pathetic do you have to be to keep begging for software and then go to make multiple accounts posting the same garbage as if it's a great concern to many people here? Read the room, sad little man. What you want is the free labor of Arch devs volunteering their own time. What you offered is not only zero contributions but non-stop crying.

3 points

How pathetic do you have to be to keep begging for software and then go to make multiple accounts posting the same garbage as if it's a great concern to many people here? Read the room, sad little man. What you want is the free labor of Arch devs volunteering their own time. What you offered is not only zero contributions but non-stop crying.

1 points

I have a personal script for installing Arch. How can I run this script stored on a Pi server in the live cd? I prefer not to copy it to the live cd. Theoretically I should be able to have just a live cd, boot it on any machine on the local network, and grab/execute the Arch install script from the Pi server.

I guess I can temporarily enable passphrase authentication on Pi ssh server and use scp or sftp, but that's not ideal. I have never hosted a webpage before, is hosting one on the local network (not served to the outside world for security/privacy reasons) where it's the content of a script an alternative where i can just curl and execute it?

1 points

How do track and use configs from a git repo or gists? For example, if this vim theme and this git gist happens to receive periodic updates, how do I ensure I get the latest ones when they are available? They are unlikely to receive updates, just an example.

Do people generally clone any repos involving files they can use directly like with these configs and then maybe have a script run on a timer that checks for updates say every month treating like it's a package update? And instead of copy and pasting the configs to their directory, make a symlink to the cloned repo itself (unless you can track a single file in a repo or something to that effect)?

Currently, I just add the source where the file came from (github link) to the top of the file and check if there's an update here and there, but I would like a more systematic approach to ensure I get the latest updates when available. I also don't like this approach because it modifies the source file but does not actually affect its functionality.

2 points

Is it worth using systemd to autostart programs? Previously, I would put anything that is dependent on the window manager to .xinitrc. Having moved to wayland, I moved those over the a sway config that exec these instead. Now I'm looking into setting up a screen locker that runs before the system sleeps. It seems like using systemd units is an approach but I was wondering what things to consider, e.g. pros/cons of setting up a unit for every program that should be autostarted.

1 points

Fixed. I downgraded linux to 5.4.15 as stated in the OP but forgot to downgrade linux-headers to the matching version as well. /u/zliop /u/StoicAvator

How should a ZFS user avoid this problem in the future? Is best practice to just update and if it breaks, then just revert to a working snapshot? Or am I expected to subscribe to a ZFS mailing list and only upgrade if nothing problematic is mentioned?

3 points

Just to put the content of your links somewhat into perspective. Anyways, I'm not really sure how relevant all this is for ordinary desktop users. On a usual desktop, the game is over long before an attacker starts looking for broken SETUID binaries... because user data is the real trophy, and to defend this data you need to get the sandbox configuration right.

What do you suggest for sandboxing user data? E.g. chromium from seeing ~/notes.

1 points

Oh I see. My laptop has the Kabylake processor--in the wiki, the newer intel-media-driver is described as "HD Graphics series starting from CannonLake (or optionally from Broadwell)", no idea what that means (why not just "starting from Broadwell"?).

For comparing between this driver and the older libva-intel-driver, an objective test would be comparing the output of vainfo and a subjective test would simply be viewing videos on mpv?

Lastly, one can use both VAAPI and VDPAU without conflicts since applications that support hardware acceleration will simply choose one or the other and they don't conflict? From doing some reading, some people seem to imply choosing one over the other. Installing both has the advantage of covering all grounds in the event that an application may support one but not the other, assuming there's no conflicts or caveats.

1 points

When you do aursync -c <package> to download and build it, it automatically adds to the custom repo and you don't need to use repo-add? I don't see anywhere in the manual where it says this is the case, but when I do aur repo --list to list the contents of the database it shows the package even though I haven't used repo-add on the package. I only used repo-add in repo-add /var/cache/pacman/custom/custom.db.tar to create the custom repo initially.

If that's the case, then I suppose generally you won't need to use repo-add when using aurutils then, except initially if you want to add any existing built packages to the custom repo? However, you still need to use repo-remove to remove the package from the database generally where you no longer want a package and have pacman uninstall it.

Also, I see you replied to my other thread regarding repo-add, I think I understand it now.

Much appreciated.

1 points

I think I understand now, please correct or elaborate if I'm wrong. So a repo only allows one version of a package, i.e. I can have either wine-3.6-1-x86_64.pkg.tar.xz (considered old version of package in later examples) or wine-3.8-1-x86_64.pkg.tar.xz (considered current version of package in later examples) but not both and this is implied by the fact that repo-remove removes using wine as opposed to the full name e.g. wine-3.6-1-x86_64.pkg.tar.xz? Also, I can also have both python2-2.7.15-4-x86_64.pkg.tar.xz and python-3.6.0-1-x86_64.pkg.tar.xz because they are different packages and pacman's sync options really only handles the package's "base name", e.g. python2 and the database will take care of the version of the actual package, e.g. python2-2.7.15-4-x86_64.pkg.tar.xz.

I think my confusion stemmed from the fact that I misunderstood the CacheDir as being associated with the database and the repo. So it seems that the repo is more of a "snapshot" of the all packages that will be synced when using e.g. pacman -Syu, and if you want to install wine-3.6-1, you can't sync to it from the database as it's not currently in the database (only the current version installed is). Therefore, you need to use pacman -U /path/to/wine-3.6-1-x86_64.pkg.tar.xz, referring to the actual file itself, as opposed to `pacman -U wine-3.6-1 because it's not in the database.

When adding all multiple packages at once using globbing repo-add /path/to/repo.db.tar.gz /path/to/*.pkg.tar.xz, /path/to/ is generally desirable to be the same directory as CacheDir to keep things simple and clean, right? Referring to the warning in the wiki:

repo-add adds the entries into the database in the same order as passed on the command line. If multiple versions of the same package are involved, care must be taken to ensure that the correct version is added last. In particular, note that lexical order used by the shell depends on the locale and differs from the vercmp ordering used by pacman.

The "correct" version is generally desired to be the latest version built then. How would one handle the globbing issue to ensure the latest version is always being added to the repo when using globbing with repo-add then?

Much appreciated. I'm using aurutils if it's relevant.

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