[linux-lvm] determing lvm support

Alasdair G Kergon agk at uk.sistina.com
Mon Dec 22 18:08:01 UTC 2003


On Mon, Dec 22, 2003 at 08:03:34AM -0800, Rich Turner wrote:
> > > look for "device-mapper" in /proc/devices or
> > It's better to check for that in /proc/misc, which will tell you whether
> > or not device-mapper support is present in the running kernel.
> why is it better to check in /proc/misc? when device-mapper support is
> loaded, it shows up in both /proc/misc as well as /proc/devices.

You can only guarantee its appearance in /proc/devices while you
have a device active.

Alasdair
-- 
agk at uk.sistina.com




More information about the linux-lvm mailing list