Commit 2688e284 authored by Jacob Nevins's avatar Jacob Nevins Committed by Richard Kettlewell
Browse files

rsbackup-snapshot-hook: swap udevadm for dmsetup

On several systems, udevadm has been observed not to give output for
some LVs for no terribly obvious reason, causing rsbackup-snapshot-hook
to refuse to work with those LVs (#72).

dmsetup also lets us canonicalise device names to work around the
original issue which caused udevadm to be invoked (#23), but is closer
to the source of truth, and thus more likely to be reliable than
udevadm.

As a side effect of this rework, VG names containing hyphens should
now be handled more convincingly.
parent 9b1d3a71
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