I am currently working on device mapper and logical volume manager.
Can anyone tell me that which function is an entry point for lvcreate,pvcreate and vgcreate in kernel.
Did you try looking at device mapper tools source?
Or, at least using "strace"?
ya i did strace . My point is when i do lvcreate (or pvcreate ,vgcreate) device mappers dm-linear.c function
must be called.But neither i could see an entry in var/log/messages nor dmesg.Is there any other way?