Skip to contentSkip to conversation

device-mapper library

DISCUSSION Bob Glamm 2 participants 2 messages Aug 26, 2004 – Nov 8, 2004 MD RAID

lore
Share & tools
lore

Bob Glamm

author
#0 lore raw

I apologize if this is the wrong place to ask this; kindly direct me to the appropriate place if so.

Is there an issue building device-mapper.1.00.1[89] against 2.6 kernels? struct dm_target_msg does not appear in the kernel headers for 2.6.5 or 2.6.7 (include/linux/dm-ioctl.h) but does appear in kernel/ioctl/dm-ioctl.h in the device-mapper sources. Is there a set of 2.6.x patches somewhere I missed?

Thanks!

-Bob

#1 lore raw
Quoted 5 lines · Bob Glamm

Is there an issue building device-mapper.1.00.1[89] against 2.6 kernels? struct dm_target_msg does not appear in the kernel headers for 2.6.5 or 2.6.7 (include/linux/dm-ioctl.h) but does appear in kernel/ioctl/dm-ioctl.h in the device-mapper sources. Is there a set of 2.6.x patches somewhere I missed?

A late reply, but for the record the userspace device-mapper library should cope fine: you compile it using its local copy of that header. If your kernel was compiled with an older version of it, the library code is designed to fallback at runtime to using a correspondingly older version whenever it reasonably can, or else return errors for features that can't be approximated using the old API.

So far, dm_target_msg is only used by multipath code in the unstable device-mapper trees at http://sources.redhat.com/dm/

Alasdair

Signature · 1 line
[email protected]