What is Impermanence
masterImpermanence is a tool that allows you to choose which files and directories are kept between reboots, while the rest are discarded. This is achieved by using an ephemeral root filesystem (which is wiped on every boot) and using Impermanence modules to link or bind mount specific files and directories from a persistent storage volume back into the root filesystem.
Core Requirements:
- An ephemeral root filesystem: A filesystem that gets wiped on reboot (e.g.,
tmpfsor BTRFS subvolumes). - Persistent storage: At least one mounted volume where files you want to keep are stored permanently.
- Impermanence modules: Modules that handle the linking/mounting between persistent storage and the root filesystem.