Commit 006b0020 authored by Jacob Nevins's avatar Jacob Nevins Committed by Richard Kettlewell
Browse files

rsbackup-snapshot-hook: fail hard on LV layer

If we're given a device name of an LVM internal layer, we shouldn't
just ignore the layer name and snapshot something else. Instead,
assume something's gone horribly wrong and fail hard.

Also tweak some diagnostics and comments, and add new tests for this
and the not-a-LV scenario.
parent 2688e284
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment