[linux-lvm] Debian packaging

Andreas Dilger adilger at turbolinux.com
Tue Dec 19 22:51:15 UTC 2000

Fionn writes:
> > Think PATH - this is really easy, and shells already support it.  No more
> > work to be done, and it's not ugly.  The IOP version will probably never
> > change within a boot (unless LVM is a module and it gets upgraded without
> > upgrading the kernel - unlikely).
> Shouldnt the debian alternatives mechanism (see "man 8 update-alternatives")
> be most appropriate for this task?

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.

Cheers, Andreas
Andreas Dilger  \ "If a man ate a pound of pasta and a pound of antipasto,
                 \  would they cancel out, leaving him still hungry?"
http://www-mddsp.enel.ucalgary.ca/People/adilger/               -- Dogbert

More information about the linux-lvm mailing list