Btrfs: Difference between revisions

imported>Vieta
TODO Addding "erase your darlings" config
imported>Vieta
removed personal note
Line 216: Line 216:
btrfs subvolume create /mnt/persist # The subvolume for /persist, containing system state which should be persistent across reboots and possibly backed up
btrfs subvolume create /mnt/persist # The subvolume for /persist, containing system state which should be persistent across reboots and possibly backed up


btrfs subvolume create /mnt/log # The subvolume for /var/log. I’m not so interested in backing up logs but I want them to be preserved across reboots, so I’m dedicating a subvolume to logs rather than using the persist subvolume
btrfs subvolume create /mnt/log # The subvolume for /var/log.


# Take an empty *readonly* snapshot of the root subvolume, which can be rollback to on every boot.
# Take an empty *readonly* snapshot of the root subvolume, which can be rollback to on every boot.