On Fri, 19 Dec 2003, Rich Turner wrote: > is there any fool proof way of knowing whether or not a system has lvm > support? > > right now i determine it this way: > > lvm1: > look for "lvm-mod" in /lib/modules/[release]/kernel/drivers/md/* > lvm2: > look for "dm-mod" in /lib/modules/[release]/kernel/drivers/md/* The only problem with this step is that many kernels (any production-level server of mine at least) do not use loadable modules, but instead build LVM support striaght into the kernel. In these cases your tests for the modules will fail. _______________________________________________ linux-lvm mailing list linux-lvm@sistina.com http://lists.sistina.com/mailman/listinfo/linux-lvm read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/