Create Btrfs snapshots as read-only (#251).
This commit is contained in:
parent
3f901c0a52
commit
d4a02f73b5
@ -134,6 +134,7 @@ def snapshot_subvolume(btrfs_command, subvolume_path, snapshot_path): # pragma:
|
||||
btrfs_command,
|
||||
'subvolume',
|
||||
'snapshot',
|
||||
'-r', # Read-only,
|
||||
subvolume_path,
|
||||
snapshot_path,
|
||||
),
|
||||
|
Loading…
x
Reference in New Issue
Block a user