I've not had chance to test this yet, so users beware. - Joe http://people.sistina.com/~thornber/patches/2.6/2.6.0/2.6.0-t3-mm3-dm1.tar.bz2 Revision 1: Use the format_dev_t function for target status functions. Revision 2: When multiple load ioctls are issued the reference count on older 'new_tables' wasn't being dropped. [Christophe Saout] Revision 3: Move retrieve_status up so dev_wait() can use it. Revision 4: dev_wait was meant to return table status not dev status. [Alasdair Kergon] Revision 5: Fix error message when linear targets gets handed more than 2 arguments. [Alasdair Kergon] Revision 6: Support an arbitrary number of target parameters. [Alasdair Kergon]