You are not logged in.
I have a new arch linux build with btrfs that I just set up. I set it up with timeshift for taking snapshots and I want to be able to take efficient snapshots of the system (e.g. ignore unnecessary files). I've contained `/var/log` and `/var/cache` in btrfs subvolumes so they don't make it into any snapshots taken of root.
I'd like to set up a swap on the system with zram. However, I don't want the swap to end up in root snapshots. Do I need to create an `@zram` subvolume and mount it a `/dev/zram0` in order to keep zram out of the snapshots or does timeshift automatically ignore `/dev`?
Offline
zram swap is not mounted anywhere, so it should not make it into snapshots.
Offline
That makes sense, thanks for the help! Does that mean nothing in `/dev` makes it into the snapshots or, rather, what are the directories in /dev? Are they not the actual devices, just ports or something?
Offline
They are special device files and have no size. I don't use timeshift myself but I think it should ignore them.
Last edited by topcat01 (2025-05-10 17:33:24)
Offline
Correct, AFAIK you do not need to worry about it in this case.
Offline