man lvm-bin-scan (Commandes) - program to maintain symlinks in /sbin for lvmiopversion (8)
NAME
lvm-bin-scan - program to maintain symlinks in /sbin for lvmiopversion (8)
SYNOPSIS
lvm-bin-scan
lvm-bin-scan -x
DESCRIPTION
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.
AUTHOR
This manual page was written by Tom Lees <tom@debian.org>, for the Debian GNU/Linux system (but may be used by others).
SEE ALSO
lvmiopversion(8), lvm(8).