[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [dm-devel] [PATCH] self-contained "kpartx kicker"



> +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 redhat com


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]