Bug#293508: possible solution to LVM module checking for LVM2

2006-02-26 Thread maximilian attems
On Sun, Feb 26, 2006 at 11:50:32AM -0500, Ken Yee wrote: > > yaird might be a better option since it generates an initramfs image > that supports LVM on RAID so hopefully mkinitrd will be retired > soon... mkinitrd is kept for 2.4 kernels atm. the new defaults for 2.6 in etch/unstable are initram

Bug#293508: possible solution to LVM module checking for LVM2

2006-02-26 Thread Ken Yee
For the mkinitrd script, a solution for the LVM2 module checking (assuming you have LVM2 built into your kernel instead) is: < elif module_exists drivers/md/dm-mod; then --- > elif module_exists drivers/md/dm-mod \ > || [ -d /lib/lvm-200 ]; then i.e., check for the exis