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

Allow to skip creation of subvolume in "snapper create-config" #390

Open
njam opened this issue Feb 3, 2018 · 5 comments
Open

Allow to skip creation of subvolume in "snapper create-config" #390

njam opened this issue Feb 3, 2018 · 5 comments

Comments

@njam
Copy link

njam commented Feb 3, 2018

Currently snapper create-config will always create a btrfs subvolume called ".snapshots" and will fail if there's already a file at the location /.snapshots. This makes it difficult to configure a custom subvolume to use for snapshots (see also #54).

How about adding a command line flag snapper create-config --no-subvolume which would disable the creation of the subvolume?

This would allow for a workflow like this:

btrfs subvolume create /@snapshots
mount -o subvolid=123 /dev/sda1 /.snapshots
snapper -c root create-config --no-subvolume /
@davestechshop
Copy link

Great suggestion!

@tick10
Copy link

tick10 commented Apr 5, 2019

Yes, please. ;) I'd sure appreciate this option as well.

@Kodehawa
Copy link

Yes please.

@antler5
Copy link

antler5 commented Mar 22, 2020

Third'd

@daiaji
Copy link

daiaji commented Nov 11, 2022

Is this feature implemented in the latest version?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

7 participants