[linux-lvm] Debian packaging

Ragnar Kjørstad lvm at ragnark.vestdata.no
Sun Dec 17 02:00:21 UTC 2000


On Thu, Dec 14, 2000 at 05:22:17PM +0100, Russell Coker 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.
> 
> Any better suggestions?

What about putting shell-scripts in /sbin, and have theese scripts
execute the real programs?

It adds a little more overhead to all lvm-commands, but you avoid the
need for setting anything up at boot-time.


-- 
Ragnar Kjørstad



More information about the linux-lvm mailing list