> +char * > +dm_mapname(int major, int minor) > + if (!(dmt = dm_task_create(DM_DEVICE_LIST))) > + return 0; You don't need this. Just set the major/minor directly. cf dmsetup -j -m Alasdair. -- agk@xxxxxxxxxx
> +char * > +dm_mapname(int major, int minor) > + if (!(dmt = dm_task_create(DM_DEVICE_LIST))) > + return 0; You don't need this. Just set the major/minor directly. cf dmsetup -j -m Alasdair. -- agk@xxxxxxxxxx
![]() |