• 2 Posts
  • 22 Comments
Joined 1 year ago
cake
Cake day: June 20th, 2023

help-circle















  • chellomere@lemmy.worldtoLinux@lemmy.ml*Permanently Deleted*
    link
    fedilink
    arrow-up
    3
    ·
    edit-2
    8 months ago

    Did something similar recently. Turns out rsync by default, if it encounters a symlink to a directory and it’s instructed to copy a directory with the same name, will remove the symlink and create an empty directory.

    So I had a script that installs crosscompiled kernel modules via rsync /path/to/nfs/path /

    This worked perfectly until Debian 12, like other distros, decided to merge /usr, so now /bin is a symlink to /usr/bin. First time I run the script after upgrade /bin gets replaced and then no programs can be started as all binaries look for /bin/ld-linux.

    I managed to fix it by booting into busybox and recreating the symlink, but it took a while until I figured out what was wrong, wasn’t familiar with usrmerge.


  • Agree with you fully on the shortcut front, and it’s very confusing that ctrl is separate from the command key. The whole keyboard layout is also a nightmare, but this is probably because I’m in Sweden, where the Swedish mac keyboard layout is radically different from the normal Swedish keyboard layout that all other computers use. When I help out someone with programming on a mac, I always end up telling them “please press pipe” or tilde, braces, backslash, or even at-sign, as these are not printed on the keys. They are accessible through the option key, but you’ll have to test all combinations to find which one is where and memorize this.




  • chellomere@lemmy.worldtoLinux@lemmy.mlZRAM is insane
    link
    fedilink
    arrow-up
    36
    ·
    10 months ago

    I’m running ZRAM on my old Netgear ReadyNAS’s, which has 512MB or 256MB RAM. It enables them to do a lot more than they otherwise would be able to, running a modern linux distribution.

    I’ve been so satisfied with it that I even started running it on my modern desktop with 32GB RAM, it helps with my tab addiction :)