lvmiopversion1
Program to report lvm protocol version
Usage
lvmiopversion
lvmtoolname [options] ...
Overview
When invoked as lvmiopversion, the program reports the LVM protocol version of the currently running kernel. However, when invoked otherwise (eg as {program}), it acts as a wrapper, and it will execute the program /sbin/lvm-{version}/{program} where {version} is the protocol version. For example, if it were called as vgscan -a, it might execute /sbin/lvm-10/vgscan -a.
If it cannot determine the protocol version when invoked as a wrapper (which may be because it does not have root permissions), it will execute /sbin/lvm-default/{program}; /sbin/lvm-default should be a symlink, and under Debian this is set up via the alternatives mechanism.
Options
The program itself does not take any options; however, when invoked as a wrapper, the programs it executes in turn may take options.
Releases
Unchanged in 3 releases since Debian 3.0 (Woody).