My crippled kernel count is around 6, how about yours?

  • FauxLiving@lemmy.world
    link
    fedilink
    arrow-up
    1
    ·
    15 hours ago

    Timeshift is a good piece of software doing a tired trick.

    The new hotness is copy on write file systems and snapshots. I can snapshot, instantly, then do a system update and revert to the previous snapshot also instantly.

    Instead of using symlinks files, like Timeshift, the filesystem is keeping track of things at the block level.

    If you update a block it writes a new copy of the block (copy on write). The old copy is still there and will be overwritten unless it is part of a snapshot. Since the block is already written, snapshots don’t require any data to be copied so they’re instant.

    Once you finish the system update, all of the overwritten blocks are still there (part of the snapshot) and reverting is also just a filesystem operation, theres no mass data to be copied and so it is also instant.

    It does use disk space, as allocated blocks AND snapshotted blocks are stored. It uses less than Timeshift though, since Timeshift copies the entire file when it changes

    ZFS and btrfs are the ones to use.