lvm-bin-scan1
Program to maintain symlinks in /sbin for lvmiopversion (8)
Usage
lvm-bin-scan
lvm-bin-scan -x
Overview
lvm-bin-scan is a simple script which will look for LVM binary sets in /sbin/lvm-{version}, and ensure that there exist symlinks in /sbin to lvmiopversion for each tool provided, and conversely to remove such symlinks when no such tool exists.
It is intended to be run from package maintenance scripts, in particular the postinst and postrm scripts, as follows:
[ "x$1" = "xconfigure" -a -x /usr/sbin/lvm-bin-scan ] && /usr/sbin/lvm-bin-scan
Options
There is only one option; lvm-bin-scan -x will remove all symlinks to lvmiopversion from /sbin; it is intended to be used from the prerm script for lvm-common.
Releases
Unchanged in 3 releases since Debian 3.0 (Woody).