[dm-devel] Getting mapped device namw

Zdenek Kabelac zdenek.kabelac at gmail.com
Mon Jul 6 11:20:38 UTC 2015


Dne 6.7.2015 v 11:20 Gili B napsal(a):
> hi
> when a user run :
> dmsetup create [device name] ....
> Can a device mapper target find out the device name that the user entered ?
> I need it for creating entries in proc for example.

It's probably worth to note here - the dm target should always care ONLY about 
major:minor - it should never care about the name of device.
It looks like you are doing something weird in your target.

Regards

Zdeenk




More information about the dm-devel mailing list