[linux-lvm] Debian packaging
Ulf Bartelt
ulf at twc.de
Wed Dec 20 08:43:11 UTC 2000
Hi!
> No, because you can have multiple kernels installed, and the LVM IOP may
> change depending on the LVM version, even within a single kernel release
> (i.e. 2.2 or 2.4). It would be nice (but more complex) if the LVM user
> tools could handle multiple IOP versions, but they don't. Also, the
> update-alternatives functionality is only available on Debian, so we
> would still need another mechanism on RPM-based systems, and it may
> as well be uniform across all systems.
If I had to solve this I'd try to
* give the lvm lib a name like liblvm-IOPNUMBER.so
* put all the lvm tools in a library liblvmtools-IOPNUMBER.so
* and the "real" tool binaries would only be a short program asking for
the IOPNUMBER, dynloading the the libtools-IOPNUMBER.so and passing all
args to the real tool inside that lib...
Strange idea?
Bye!
Ulf.
More information about the linux-lvm
mailing list