Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

snapshots of root directory ("/") not possible in version 1.7.3 #23

Open
MartinSpiessl opened this issue Aug 9, 2018 · 0 comments
Open

Comments

@MartinSpiessl
Copy link

commit 30ef9f3 broke cases where the user wants to snapshot the directory root, as @kfriedberger already pointed out in a comment on the commit.
A possible fix would be:

mp=$(realpath -s $1)
kaotika added a commit to kaotika/btrfs-snap that referenced this issue Aug 15, 2018
* fixed jf647#23
* Calling btrfs-snap `btrfs-snap -r -c -B /btrfs/system/snapshots
/btrfs/system/@root root_daily 7` throws `ERROR: /btrfs/system/@root is
not a btrfs mountpoint (or old version of btrfs-tools, try > 0.19)`.
Fixed jf647#24.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant