• 4 Posts
  • 593 Comments
Joined 1 year ago
cake
Cake day: July 4th, 2023

help-circle
  • Aren’t snapshots in btrfs above root?

    Edit: they are in “subvolumes”

    Source: ChatGPT

    On a Btrfs filesystem, running rm -rf /* will attempt to delete everything in the root directory, which includes all files and directories accessible to your permissions. However, Btrfs snapshots are designed to be resistant to regular file deletion commands. Here’s what happens:

    1. Snapshots remain intact: rm -rf /* doesn’t automatically delete snapshots because snapshots are stored in special subvolumes. By default, this command won’t affect subvolumes that are not mounted within the filesystem you’re deleting from.

    2. You would need specific commands to delete snapshots: To delete snapshots on Btrfs, you would typically use a command like btrfs subvolume delete <snapshot> for each snapshot individually, as snapshots are managed by the filesystem and not treated as standard directories.

    3. The data inside the snapshots is preserved: Even if files in the root filesystem are deleted, any data captured in snapshots remains, as snapshots are essentially read-only copies at a certain point in time.

    Important Note: If the snapshots are mounted and accessible in the directory tree where rm -rf /* is run, you could accidentally delete them if the command traverses into the snapshots’ directories. To protect snapshots, administrators often mount them in isolated directories (e.g., /snapshots) or keep them unmounted until explicitly needed.

    In summary, unless you run specific deletion commands for Btrfs subvolumes, snapshots should remain unaffected by rm -rf /* due to the unique way Btrfs manages snapshots.













  • I got my IT department to allow me to use WSL2, because I have to clone and patch the Linux kernel for our embedded linux device.

    😁now I can install stuff, for which I otherwise would have need windows admin privileges, into WSL2, like steam (just for the fun of playing a windows game over proton on a ubuntu install on WSL2 which is just linux hyper-v emulation on windows -> games run very bad and seem do not use the nvidia card in the laptop 🤭)

    So my setup is for work windows running WSL if needed, at home, I have a macbookpro11,3 dual boot BigSur and up to date endeavourOS(Arch+KDE) as allrounder devices, a game PC running endeavourOS(Arch+KDE) (NVIDIA 970), a raspberry Pi W2 running my homebridge, an iPad pro for easy webapps (configure *arr services) and streaming. Other not so much PC coputing devices available are PostmarkedOS pine phone, TvOS running Atv, various game consoles with most CFW installed, and many iPhones (collected over time, self bought is only iPhone 4s, 5, 6, X and 12mini)

    So, I use them all big OSs 🤔 well, not really android anywhere… 😁 I just recognised that my router is BSD based (OpnSense)





  • Many think streaming services went more expensive because of piracy ( less people paying for same content = content price needs to be higher, where I believe it is other way around (higher price for less content = more pirates).

    The market of distribution of films and series is just fucked. The fight with competitors using exclusive content leads to worst way of distribution since company with exclusive content has monopoly of that content. Streaming services should not be the one owning the content but should be in competition with other distributors offering the same content.

    I think the politics have forgotten that we need at least social capitalism if we not want to create cyberpunk dystopia.