[linux-lvm] Debian packaging

Claudio Matsuoka claudio at conectiva.com
Sun Dec 17 10:49:35 UTC 2000


On Sun, 17 Dec 2000, Ragnar Kjørstad wrote:

> > I was thinking that perhaps what I should do is have /sbin/lvm-ver and 
> > /lib/lvm-ver directories where "ver" is the version of LVM in question.  Then 
> > at boot time there is a script that determines the version of LVM in the 
> > kernel and creates sym-links from /sbin and /lib to the correct directories.  
> > This is REALLY ugly, but it enables a user to cleanly have a machine that can 
> > be booted on 2.2 or 2.4 kernel and just work each time you boot it.
>
> What about putting shell-scripts in /sbin, and have theese scripts
> execute the real programs?


Placing a single script (symlinked from several names) that detects the
protocol version and executes $0 in /lib/lvm-ver could make maintenance
easier.






More information about the linux-lvm mailing list