[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: [linux-lvm] determing lvm support
- From: Micah Anderson <micah riseup net>
- To: linux-lvm sistina com
- Subject: Re: [linux-lvm] determing lvm support
- Date: Sat Dec 20 12:55:02 2003
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.
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]