All of lore.kernel.org
 help / color / mirror / Atom feed
* [linux-lvm] determing lvm support
@ 2003-12-19 18:49 Rich Turner
  2003-12-20  6:31 ` Alasdair G Kergon
  2003-12-20 12:55 ` Micah Anderson
  0 siblings, 2 replies; 9+ messages in thread
From: Rich Turner @ 2003-12-19 18:49 UTC (permalink / raw)
  To: linux-lvm

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 "vgcreate" command and
look for "lvm" in /proc/devices or
look for "lvm-mod" in /lib/modules/[release]/kernel/drivers/md/*

lvm2:
look for "vgcreate" command and
look for "device-mapper" in /proc/devices or
look for "dm-mod" in /lib/modules/[release]/kernel/drivers/md/*

i think i am fairly certain with lvm1, but with lvm2 i am not sure if i
have device mapper support and a lvm command that is enough.

any ideas?

rich turner

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2003-12-22 18:08 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-12-19 18:49 [linux-lvm] determing lvm support Rich Turner
2003-12-20  6:31 ` Alasdair G Kergon
2003-12-20  7:37   ` Luca Berra
2003-12-20 17:32     ` Alasdair G Kergon
2003-12-21  2:09       ` Luca Berra
2003-12-21 10:02         ` Alasdair G Kergon
2003-12-22 10:05   ` Rich Turner
2003-12-22 18:08     ` Alasdair G Kergon
2003-12-20 12:55 ` Micah Anderson

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.