In order to use XFS + DMAPI with kernel 2.6.x you need at least the following steps:


DMAPI_MINOR found in miscdevice.h is no longer valid, /dev/dmapi minor number is dynamically allocated. (use devfs or the newer udev daemon)

To test the functionality, just do cat /dev/dmapi and the DMAPI version used is displayed, if you get an error message you did something wrong.