• 0 Posts
  • 46 Comments
Joined 1 year ago
cake
Cake day: February 15th, 2025

help-circle
  • You can mostly just copy your home partition/dir with something like rsync.

    Step by step:

    1. Install new distro, in the installer make sure to use the same username (otherwise there is some extra work involved but still doable)

    2. start up new distro to make sure it works

    3. reboot into old distro or into live linux

    4. use rsync to copy olddistro/home/user to newdistro/home/user (you have to think about whether it makes sense to overwrite all files or if there is maybe some special exception somehow. Like there may be some idiomatic bashrc on one distro that does not work well with the other)

    (I’ve done that multiple times now and there is some minor fixing involved sometimes, like with the bashrc example, but otherwise it’s super easy. If you ever get stuck just hit me up and I can hop on a Rustdesk/discord/whatever support session)









  • HelloRoot@lemy.loltoLinux@programming.devNew to Linux which OS to use?
    link
    fedilink
    English
    arrow-up
    6
    arrow-down
    1
    ·
    edit-2
    2 months ago

    Linux filesystems exam time:


    section A basics


    1. what does CoW stand for?

    2. evaluate through pros and cons which you personally would pick: Btrfs, ZFS, F2FS, bcachefs, OverlayFS, aufs, Nilfs2, JFFS2, UBIFS


    section B btefs


    1. what exactly happens when running this command, including how qgroups, compression, and recursion interact?
    btrfs balance start -dusage=5 -musage=20 -c zstd \
        --bg /srv/vms && \
    btrfs qgroup limit 50G /srv/vms/guests/win10
    
    1. explain the effect of the following command on device allocation, RAID reshaping, and metadsta distribution:
    btrfs device add -f /dev/nvme2n1 /home && \
    btrfs balance start -mconvert=raid1 -dconvert=raid1 -sconvert=dup /home
    
    1. describe what this snapshotting pipeline does, including send stream structure, parent selection, and how receive-side overwrites are handled:
    btrfs subvolume snapshot -r /opt/app /opt/.snaps/auto-$(date +%s) && \
    btrfs send -c -p /opt/.snaps/last-full \
        /opt/.snaps/auto-$(date +%s) \
        | ssh backup 'btrfs receive -f /backup/opt/incoming'
    
    1. what actions occur on the filesystem when this defrag call is executed, especially regarding extent sharing and how compression interacts?
    btrfs filesystem defrag -r -v -czstd:15 \
        /var/lib/docker/overlay2
    
    1. analyze subvolume management sequence, including how default-subvolume selection influences mount behavior:
    btrfs subvolume delete /mnt/root/@old && \
    btrfs subvolume snapshot -r /mnt/root/@clean /mnt/root/@ && \
    btrfs subvolume set-default 256 /mnt/root
    

    section C zfs


    […]

    /s



  • arch

    no

    I found it pretty easy to see with thedynamic examples. It flashed “no result” for a second before showing a result for example, happened, especially the first time when searching something after a fresh boot.

    For a static example - what the fuck is this result ordering? What do any of those apps except keepass have to do with “ke”?

    here is another, when I want to start teamspeak, steam is the first result like WTF?

    I find it is absolutely insane and deranged UX that the results where the app name STARTS with the entered substring are not at the top of the list.








  • HelloRoot@lemy.loltoLinux@programming.dev*Permanently Deleted*
    link
    fedilink
    English
    arrow-up
    21
    ·
    edit-2
    4 months ago

    Even the subheadings are clickbait.

    Convert Files to Any Format From the Terminal

    I got intrigued. What magical tool could it be that can convert ANY file to ANY format?

    It’s pandoc … It’s a monumentally awesome tool, but no, it can not convert files to “any” format. It can’t even convert a pdf to anything (which the article might let you on to believe).

    And then it’s imagemagic and ffmpeg. Yeah…