-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Looking at this blog post:
https://www.jwillikers.com/btrfs-snapshot-management-with-snapper
It seems it should be possible to determine the /dev file where the root partition is mounted by issuing this command:
df --output=source / | tail -n 1And consequently something like this for snapper-rollback:
sudo mkdir -p /btrfsroot
sudo mount $(df --output=source / | tail -n 1) /btrfsroot(or a different folder that's like to exists such as /mnt or /tmp to be safer on a read-only snapshot)
Not sure if it's guaranteed to work though.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request